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

Thomas Weißschuh posted 2 patches 2 years, 9 months ago
[PATCH v2 1/2] HID: lg4ff: explicitly include linux/leds.h
Posted by Thomas Weißschuh 2 years, 9 months ago
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 --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"

-- 
2.40.1