summaryrefslogtreecommitdiffstats
path: root/drivers/hid
diff options
context:
space:
mode:
authorThomas Weißschuh <linux@weissschuh.net>2023-02-15 02:03:37 +0100
committerBenjamin Tissoires <benjamin.tissoires@redhat.com>2023-04-13 17:01:04 +0200
commit6c89c1160321725af1431bf6f365f3bfcb1f2350 (patch)
treea9ba53631eb0a71305b63ffe0b369dc6062cfbef /drivers/hid
parentHID: apple: Set the tilde quirk flag on the Geyser 4 and later (diff)
downloadlinux-6c89c1160321725af1431bf6f365f3bfcb1f2350.tar.xz
linux-6c89c1160321725af1431bf6f365f3bfcb1f2350.zip
HID: apple: 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-4-35b6f1dcee8a@weissschuh.net Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Diffstat (limited to 'drivers/hid')
-rw-r--r--drivers/hid/hid-apple.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hid/hid-apple.c b/drivers/hid/hid-apple.c
index 5c145775482b..9004b25c367d 100644
--- a/drivers/hid/hid-apple.c
+++ b/drivers/hid/hid-apple.c
@@ -22,6 +22,7 @@
#include <linux/slab.h>
#include <linux/timer.h>
#include <linux/string.h>
+#include <linux/leds.h>
#include "hid-ids.h"