summaryrefslogtreecommitdiff
path: root/drivers/power
diff options
context:
space:
mode:
authorThomas Weißschuh <linux@weissschuh.net>2023-02-15 04:12:55 +0300
committerSebastian Reichel <sebastian.reichel@collabora.com>2023-02-16 01:47:22 +0300
commit9de10a51b0c6e7c1ca99a65c043243597002202e (patch)
treebefd0373c910c48e3d2c72a8d2d28af0f2b60cec /drivers/power
parentb2b911afd86631e601537c7dd7bb0acc0b1f9b51 (diff)
downloadlinux-9de10a51b0c6e7c1ca99a65c043243597002202e.tar.xz
power: supply: leds: explicitly include linux/leds.h
Instead of relying on an accidental, transitive inclusion of linux/leds.h use it directly. Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'drivers/power')
-rw-r--r--drivers/power/supply/power_supply_leds.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/power/supply/power_supply_leds.c b/drivers/power/supply/power_supply_leds.c
index d69880cc3593..702bf83f6e6d 100644
--- a/drivers/power/supply/power_supply_leds.c
+++ b/drivers/power/supply/power_supply_leds.c
@@ -13,6 +13,7 @@
#include <linux/device.h>
#include <linux/power_supply.h>
#include <linux/slab.h>
+#include <linux/leds.h>
#include "power_supply.h"