Commit f56e0071 authored by Thomas Weißschuh's avatar Thomas Weißschuh Committed by Lyude Paul

drm/nouveau/led: explicitly include linux/leds.h

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: default avatarThomas Weißschuh <linux@weissschuh.net>
Reviewed-by: default avatarLyude Paul <lyude@redhat.com>
Signed-off-by: default avatarLyude Paul <lyude@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230215-power_supply-leds-nouveau-v1-1-ea93bfa0ba7e@weissschuh.net
parent 9ef8d83e
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
#include "nouveau_drv.h" #include "nouveau_drv.h"
struct led_classdev; #include <linux/leds.h>
struct nouveau_led { struct nouveau_led {
struct drm_device *dev; struct drm_device *dev;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment