diff mbox series

[1/6] drm/fsl-dcu: Include <linux/of.h>

Message ID 20241011144632.90434-2-tzimmermann@suse.de (mailing list archive)
State New, archived
Headers show
Series drm: Trivial include fixes | expand

Commit Message

Thomas Zimmermann Oct. 11, 2024, 2:41 p.m. UTC
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>
---
 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_rgb.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Thomas Zimmermann Nov. 12, 2024, 1:50 p.m. UTC | #1
ping


Am 11.10.24 um 16:41 schrieb Thomas Zimmermann:
> 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>
> ---
>   drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_rgb.c | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_rgb.c b/drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_rgb.c
> index 2c2b92324a2e..c418e8496bdf 100644
> --- a/drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_rgb.c
> +++ b/drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_rgb.c
> @@ -6,6 +6,7 @@
>    */
>   
>   #include <linux/backlight.h>
> +#include <linux/of.h>
>   #include <linux/of_graph.h>
>   
>   #include <drm/drm_atomic_helper.h>
diff mbox series

Patch

diff --git a/drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_rgb.c b/drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_rgb.c
index 2c2b92324a2e..c418e8496bdf 100644
--- a/drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_rgb.c
+++ b/drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_rgb.c
@@ -6,6 +6,7 @@ 
  */
 
 #include <linux/backlight.h>
+#include <linux/of.h>
 #include <linux/of_graph.h>
 
 #include <drm/drm_atomic_helper.h>