Skip to content

Commit 6b12afa

Browse files
committed
drm/panel: panel-summit: Include <linux/property.h> and <linux/mod_devicetable.h>
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
1 parent 942e54a commit 6b12afa

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

drivers/gpu/drm/panel/panel-summit.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
// SPDX-License-Identifier: GPL-2.0-only
22

33
#include <linux/backlight.h>
4+
#include <linux/mod_devicetable.h>
5+
#include <linux/property.h>
46
#include <drm/drm_device.h>
57
#include <drm/drm_mipi_dsi.h>
68
#include <drm/drm_mode.h>

0 commit comments

Comments
 (0)