drm/fsl-dcu: Include <linux/of.h>
authorThomas Zimmermann <tzimmermann@suse.de>
Fri, 11 Oct 2024 14:41:19 +0000 (16:41 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Fri, 13 Dec 2024 14:20:40 +0000 (15:20 +0100)
Include <linux/of.h> directly to get of_parse_phandle(). Avoids the
proxy include via <linux/backlight.h>

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Cc: Stefan Agner <stefan@agner.ch>
Cc: Alison Wang <alison.wang@nxp.com>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241011144632.90434-2-tzimmermann@suse.de
drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_rgb.c

index 2c2b92324a2e90fe13dcfa889986f00419c4be60..c418e8496bdf7058d13d8031178ab3f4c7c1c83a 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <linux/backlight.h>
+#include <linux/of.h>
 #include <linux/of_graph.h>
 
 #include <drm/drm_atomic_helper.h>