]> www.infradead.org Git - users/hch/misc.git/commitdiff
drm/panel: panel-samsung-s6e88a0-ams427ap24: Fix includes
authorThomas Zimmermann <tzimmermann@suse.de>
Tue, 12 Aug 2025 08:25:09 +0000 (10:25 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Wed, 20 Aug 2025 11:08:38 +0000 (13:08 +0200)
Include <linux/property.h> to declare device_property_read_bool() and
<linux/mod_devicetable.h> to declare struct of_device_id. Avoids the
dependency on the backlight header to include both.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20250812082509.227879-1-tzimmermann@suse.de
drivers/gpu/drm/panel/panel-samsung-s6e88a0-ams427ap24.c

index e91f506629975f2c2cc40d91d79576406ae35ca2..7e2f4e043d6293cceac5b07e42fd5a04b89a4798 100644 (file)
@@ -7,7 +7,9 @@
 #include <linux/backlight.h>
 #include <linux/delay.h>
 #include <linux/gpio/consumer.h>
+#include <linux/mod_devicetable.h>
 #include <linux/module.h>
+#include <linux/property.h>
 #include <linux/regulator/consumer.h>
 
 #include <video/mipi_display.h>