]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/nouveau/led: explicitly include linux/leds.h
authorThomas Weißschuh <linux@weissschuh.net>
Wed, 15 Feb 2023 01:04:53 +0000 (01:04 +0000)
committerLyude Paul <lyude@redhat.com>
Wed, 15 Feb 2023 23:05:57 +0000 (18:05 -0500)
commitf56e0071a6fea6b416943d8736f3128c8b2abed2
treefd0ecfcb2d47eee955c6f84795b73cde660a2c85
parent9ef8d83e8e25d5f1811b3a38eb1484f85f64296c
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: 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