summaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-lg-g15.c
diff options
context:
space:
mode:
authorThomas Weißschuh <linux@weissschuh.net>2023-02-15 01:03:35 +0000
committerBenjamin Tissoires <benjamin.tissoires@redhat.com>2023-04-13 17:08:45 +0200
commit21c5bd5b4b0649b3d58eba56ff432ba3b34a50cd (patch)
tree6ba01ce90694ffc7558a4bd4ed0227117c8eecbc /drivers/hid/hid-lg-g15.c
parentf28bb5ce4f153d3a96c835b3a2751695cc9183dd (diff)
downloadlinux-stable-21c5bd5b4b0649b3d58eba56ff432ba3b34a50cd.tar.gz
linux-stable-21c5bd5b4b0649b3d58eba56ff432ba3b34a50cd.tar.bz2
linux-stable-21c5bd5b4b0649b3d58eba56ff432ba3b34a50cd.zip
HID: lg-g15: 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> Link: https://lore.kernel.org/r/20230215-power_supply-leds-hid-v1-2-35b6f1dcee8a@weissschuh.net Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Diffstat (limited to 'drivers/hid/hid-lg-g15.c')
-rw-r--r--drivers/hid/hid-lg-g15.c1
1 files changed, 1 insertions, 0 deletions
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>