power: supply: leds: explicitly include linux/leds.h
authorThomas Weißschuh <linux@weissschuh.net>
Wed, 15 Feb 2023 01:12:55 +0000 (01:12 +0000)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Wed, 15 Feb 2023 22:47:22 +0000 (23:47 +0100)
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>
drivers/power/supply/power_supply_leds.c

index d69880cc35931472f28066627ae95a67db5f5ccb..702bf83f6e6d256e7012c9657b750ee3f51d2ca4 100644 (file)
@@ -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"