diff options
author | Thomas Weißschuh <linux@weissschuh.net> | 2023-02-15 01:03:37 +0000 |
---|---|---|
committer | Benjamin Tissoires <benjamin.tissoires@redhat.com> | 2023-04-13 17:01:04 +0200 |
commit | 6c89c1160321725af1431bf6f365f3bfcb1f2350 (patch) | |
tree | a9ba53631eb0a71305b63ffe0b369dc6062cfbef /drivers/hid/hid-apple.c | |
parent | c3388ddc74a863466c7c3fa24d3a9cea9c9bca53 (diff) | |
download | linux-stable-6c89c1160321725af1431bf6f365f3bfcb1f2350.tar.gz linux-stable-6c89c1160321725af1431bf6f365f3bfcb1f2350.tar.bz2 linux-stable-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/hid-apple.c')
-rw-r--r-- | drivers/hid/hid-apple.c | 1 |
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" |