Skip to content

Commit 6c89c11

Browse files
t-8chbentiss
authored andcommitted
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>
1 parent c3388dd commit 6c89c11

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/hid/hid-apple.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
#include <linux/slab.h>
2323
#include <linux/timer.h>
2424
#include <linux/string.h>
25+
#include <linux/leds.h>
2526

2627
#include "hid-ids.h"
2728

0 commit comments

Comments
 (0)