Include <linux/of.h> to declare device_property_read_u32() and struct of_device_id. Avoids dependency on backlight header to include it.
Signed-off-by: Thomas Zimmermann <tzimmerm...@suse.de> Reviewed-by: Janne Grunau <j...@jannau.net> --- drivers/gpu/drm/panel/panel-summit.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/panel/panel-summit.c b/drivers/gpu/drm/panel/panel-summit.c index 4854437e2899..02aa1ec287d6 100644 --- a/drivers/gpu/drm/panel/panel-summit.c +++ b/drivers/gpu/drm/panel/panel-summit.c @@ -1,6 +1,7 @@ // SPDX-License-Identifier: GPL-2.0-only #include <linux/backlight.h> +#include <linux/of.h> #include <drm/drm_device.h> #include <drm/drm_mipi_dsi.h> #include <drm/drm_mode.h> -- 2.50.0