diff mbox series

[v2,1/2] HID: lg4ff: explicitly include linux/leds.h

Message ID 20230212-include-power_supply-leds-v2-1-e9910a3f5837@weissschuh.net
State New
Headers show
Series [v2,1/2] HID: lg4ff: explicitly include linux/leds.h | expand

Commit Message

Thomas Weißschuh May 2, 2023, 4:28 a.m. UTC
Instead of relying on an accidental, transitive inclusion of linux/leds.h
use it directly.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202304301551.baBXvI9d-lkp@intel.com/
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
---
 drivers/hid/hid-lg4ff.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/drivers/hid/hid-lg4ff.c b/drivers/hid/hid-lg4ff.c
index e3fcf1353fb3..d55d04c140b9 100644
--- a/drivers/hid/hid-lg4ff.c
+++ b/drivers/hid/hid-lg4ff.c
@@ -15,6 +15,7 @@ 
 #include <linux/input.h>
 #include <linux/usb.h>
 #include <linux/hid.h>
+#include <linux/leds.h>
 
 #include "usbhid/usbhid.h"
 #include "hid-lg.h"