diff mbox series

[2/4] HID: lg-g15: explicitly include linux/leds.h

Message ID 20230215-power_supply-leds-hid-v1-2-35b6f1dcee8a@weissschuh.net (mailing list archive)
State Mainlined
Commit 21c5bd5b4b0649b3d58eba56ff432ba3b34a50cd
Delegated to: Jiri Kosina
Headers show
Series HID: explicitly include linux/leds.h | expand

Commit Message

Thomas Weißschuh Feb. 15, 2023, 1:03 a.m. UTC
Instead of relying on an accidental, transitive inclusion of linux/leds.h
use it directly.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
---
 drivers/hid/hid-lg-g15.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/drivers/hid/hid-lg-g15.c b/drivers/hid/hid-lg-g15.c
index c8f82bcbf1ab..acbec1dcf196 100644
--- a/drivers/hid/hid-lg-g15.c
+++ b/drivers/hid/hid-lg-g15.c
@@ -7,6 +7,7 @@ 
 
 #include <linux/device.h>
 #include <linux/hid.h>
+#include <linux/leds.h>
 #include <linux/module.h>
 #include <linux/random.h>
 #include <linux/sched.h>