drm/panel: panel-samsung-s6e88a0-ams427ap24: Fix includes
Subsystems (3)
Thomas Zimmermann
maintainerPATCH 1/1 drm/panel: panel-samsung-s6e88a0-ams427ap24: Fix includes
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.
--- drivers/gpu/drm/panel/panel-samsung-s6e88a0-ams427ap24.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/gpu/drm/panel/panel-samsung-s6e88a0-ams427ap24.c +2 -0
@@ -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>
Signature · 1 line
2.50.1
Thomas Zimmermann
maintainerping for review
Am 12.08.25 um 10:25 schrieb Thomas Zimmermann:
Quoted 23 lines
Include <
linux/property.h> to declaredevice_property_read_bool()and <linux/mod_devicetable.h> to declare structof_device_id. Avoids the dependency on the backlight header to include both.Signed-off-by Thomas Zimmermann <[email protected]>--- drivers/gpu/drm/panel/panel-samsung-s6e88a0-ams427ap24.c | 2 ++ 1 file changed, 2 insertions(+)drivers/gpu/drm/panel/panel-samsung-s6e88a0-ams427ap24.c +2
-0@@ -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>
Signature · 7 lines
-- 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)
Quoted 14 lines · Thomas Zimmermann
Include <
linux/property.h> to declaredevice_property_read_bool()and <linux/mod_devicetable.h> to declare structof_device_id. Avoids the dependency on the backlight header to include both.Signed-off-by Thomas Zimmermann <[email protected]>--- drivers/gpu/drm/panel/panel-samsung-s6e88a0-ams427ap24.c | 2 ++ 1 file changed, 2 insertions(+)drivers/gpu/drm/panel/panel-samsung-s6e88a0-ams427ap24.c +0
-0
drivers/gpu/drm/panel/panel-samsung-s6e88a0-ams427ap24.c line 15
Quoted 9 lines
drivers/gpu/drm/panel/panel-samsung-s6e88a0-ams427ap24.c +2
-0@@ -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>