[PATCH 6/6] drm/tiny: panel-mipi-dbi: Include <linux/of.h>
Thomas Zimmermann
tzimmermann at suse.de
Fri Oct 11 14:41:24 UTC 2024
Include <linux/of.h> directly to get of_property_read_string_index().
Avoids the proxy include via <linux/backlight.h>
Signed-off-by: Thomas Zimmermann <tzimmermann at suse.de>
Cc: "Noralf Trønnes" <noralf at tronnes.org>
---
drivers/gpu/drm/tiny/panel-mipi-dbi.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/tiny/panel-mipi-dbi.c b/drivers/gpu/drm/tiny/panel-mipi-dbi.c
index e66729b31bd6..7f193a65b93f 100644
--- a/drivers/gpu/drm/tiny/panel-mipi-dbi.c
+++ b/drivers/gpu/drm/tiny/panel-mipi-dbi.c
@@ -10,6 +10,7 @@
#include <linux/firmware.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/spi/spi.h>
--
2.46.0
More information about the dri-devel
mailing list