summaryrefslogtreecommitdiffstats
path: root/drivers/power/supply
diff options
context:
space:
mode:
authorThomas Weißschuh <linux@weissschuh.net>2023-02-15 02:12:55 +0100
committerSebastian Reichel <sebastian.reichel@collabora.com>2023-02-15 23:47:22 +0100
commit9de10a51b0c6e7c1ca99a65c043243597002202e (patch)
treebefd0373c910c48e3d2c72a8d2d28af0f2b60cec /drivers/power/supply
parentdt-bindings: power: supply: pm8941-coincell: Don't require charging properties (diff)
downloadlinux-9de10a51b0c6e7c1ca99a65c043243597002202e.tar.xz
linux-9de10a51b0c6e7c1ca99a65c043243597002202e.zip
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/supply')
-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"