projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3388dd
)
HID: apple: explicitly include linux/leds.h
author
Thomas Weißschuh
<linux@weissschuh.net>
Wed, 15 Feb 2023 01:03:37 +0000
(
01:03
+0000)
committer
Benjamin Tissoires
<benjamin.tissoires@redhat.com>
Thu, 13 Apr 2023 15:01:04 +0000
(17:01 +0200)
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>
drivers/hid/hid-apple.c
patch
|
blob
|
history
diff --git
a/drivers/hid/hid-apple.c
b/drivers/hid/hid-apple.c
index 5c145775482bc77b02ff197f5feb4a2a835c3b8b..9004b25c367dad12192f0c9135f3bcc38990c865 100644
(file)
--- 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"