projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f28bb5c
)
HID: lg-g15: explicitly include linux/leds.h
author
Thomas Weißschuh
<linux@weissschuh.net>
Wed, 15 Feb 2023 01:03:35 +0000
(
01:03
+0000)
committer
Benjamin Tissoires
<benjamin.tissoires@redhat.com>
Thu, 13 Apr 2023 15:08:45 +0000
(17:08 +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-2-35b6f1dcee8a@weissschuh.net
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
drivers/hid/hid-lg-g15.c
patch
|
blob
|
history
diff --git
a/drivers/hid/hid-lg-g15.c
b/drivers/hid/hid-lg-g15.c
index c8f82bcbf1ab1039ec36f58b2c9b6d243f4f8335..acbec1dcf1963de36e97f0a32023bb54c21a148d 100644
(file)
--- 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>