drm/nouveau: Include <linux/backlight.h>
authorThomas Zimmermann <tzimmermann@suse.de>
Mon, 19 Feb 2024 09:37:27 +0000 (10:37 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Wed, 28 Feb 2024 08:59:26 +0000 (09:59 +0100)
Resolves the proxy include via <linux/fb.h>, which does not require the
backlight header.

v3:
* fix grammar in commit message

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Acked-by: Helge Deller <deller@gmx.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20240219093941.3684-3-tzimmermann@suse.de
drivers/gpu/drm/nouveau/dispnv50/disp.c

index 8d37a69..0c3d88a 100644 (file)
@@ -28,6 +28,7 @@
 #include "wndw.h"
 #include "handles.h"
 
+#include <linux/backlight.h>
 #include <linux/dma-mapping.h>
 #include <linux/hdmi.h>
 #include <linux/component.h>