[PATCH v2 02/15] drm/panel: panel-samsung-s6e63m0: Include <linux/of.h>
Simona Vetter
simona.vetter at ffwll.ch
Tue Jul 15 06:19:56 PDT 2025
On Tue, Jul 15, 2025 at 02:24:39PM +0200, Thomas Zimmermann wrote:
> Include <linux/of.h> to declare device_property_read_u32(). Avoids
> dependency on backlight header to include it.
>
> Signed-off-by: Thomas Zimmermann <tzimmermann at suse.de>
Reviewed-by: Simona Vetter <simona.vetter at ffwll.ch>
> ---
> drivers/gpu/drm/panel/panel-samsung-s6e63m0.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/panel/panel-samsung-s6e63m0.c b/drivers/gpu/drm/panel/panel-samsung-s6e63m0.c
> index ea241c89593b..930948cb615f 100644
> --- a/drivers/gpu/drm/panel/panel-samsung-s6e63m0.c
> +++ b/drivers/gpu/drm/panel/panel-samsung-s6e63m0.c
> @@ -16,6 +16,7 @@
> #include <linux/export.h>
> #include <linux/gpio/consumer.h>
> #include <linux/module.h>
> +#include <linux/of.h>
> #include <linux/property.h>
> #include <linux/regulator/consumer.h>
> #include <linux/media-bus-format.h>
> --
> 2.50.0
>
--
Simona Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
More information about the linux-arm-kernel
mailing list