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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 






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@xxxxxxx>
Cc: Stefan Agner <stefan@xxxxxxxx>
Cc: Alison Wang <alison.wang@xxxxxxx>

R-b'ed by Javier via irc

https://dri.freedesktop.org/~cbrill/dri-log/index.php?channel=dri-devel&date=2024-12-13



---
  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>

--
--
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Frankenstrasse 146, 90461 Nuernberg, Germany
GF: Ivo Totev, Andrew Myers, Andrew McDonald, Boudien Moerman
HRB 36809 (AG Nuernberg)




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux