]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/panel: Include <linux/of.h>
authorThomas Zimmermann <tzimmermann@suse.de>
Fri, 11 Oct 2024 14:41:20 +0000 (16:41 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Fri, 13 Dec 2024 14:21:02 +0000 (15:21 +0100)
Include <linux/of.h> directly to get of_device_is_available(). Avoids
the proxy include via <linux/backlight.h>

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Cc: Neil Armstrong <neil.armstrong@linaro.org>
Cc: Jessica Zhang <quic_jesszhan@quicinc.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20241011144632.90434-3-tzimmermann@suse.de
drivers/gpu/drm/drm_panel.c

index 19ab0a794add31f34275d53dfab0a7c0050476e3..2379e501c08bb0737df636e189839b8062661e03 100644 (file)
@@ -24,6 +24,7 @@
 #include <linux/backlight.h>
 #include <linux/err.h>
 #include <linux/module.h>
+#include <linux/of.h>
 
 #include <drm/drm_crtc.h>
 #include <drm/drm_panel.h>