]> www.infradead.org Git - users/hch/misc.git/commitdiff
drm/panel: panel-summit: Include <linux/property.h> and <linux/mod_devicetable.h>
authorThomas Zimmermann <tzimmermann@suse.de>
Tue, 12 Aug 2025 08:10:32 +0000 (10:10 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Wed, 13 Aug 2025 09:12:19 +0000 (11:12 +0200)
Include <linux/property.h> to declare device_property_read_u32() and
<linux/mod_devicetable.h> to declare struct of_device_id. Avoids the
dependency on the backlight header to include it.

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

index 4854437e2899126c74d8060433a9064cc3812de7..6d40b9ddfe029fa8059c4104e4ddd9ddce24db6f 100644 (file)
@@ -1,6 +1,8 @@
 // SPDX-License-Identifier: GPL-2.0-only
 
 #include <linux/backlight.h>
+#include <linux/mod_devicetable.h>
+#include <linux/property.h>
 #include <drm/drm_device.h>
 #include <drm/drm_mipi_dsi.h>
 #include <drm/drm_mode.h>