projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ef8d83
)
drm/nouveau/led: explicitly include linux/leds.h
author
Thomas Weißschuh
<linux@weissschuh.net>
Wed, 15 Feb 2023 01:04:53 +0000
(
01:04
+0000)
committer
Lyude Paul
<lyude@redhat.com>
Wed, 15 Feb 2023 23:05:57 +0000
(18:05 -0500)
Instead of relying on an accidental, transitive inclusion of linux/leds.h
use it directly.
Also drop the forware definition of struct led_classdev that is now
provided by linux/leds.h.
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Signed-off-by: Lyude Paul <lyude@redhat.com>
Link:
https://patchwork.freedesktop.org/patch/msgid/20230215-power_supply-leds-nouveau-v1-1-ea93bfa0ba7e@weissschuh.net
drivers/gpu/drm/nouveau/nouveau_led.h
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/nouveau/nouveau_led.h
b/drivers/gpu/drm/nouveau/nouveau_led.h
index 21a5775028cc612e9a6c81e280777329f18233fd..bc9bc7208da3c9a76910ebe7ade460a4f3b74c67 100644
(file)
--- a/
drivers/gpu/drm/nouveau/nouveau_led.h
+++ b/
drivers/gpu/drm/nouveau/nouveau_led.h
@@
-27,7
+27,7
@@
#include "nouveau_drv.h"
-struct led_classdev;
+#include <linux/leds.h>
struct nouveau_led {
struct drm_device *dev;