Skip to content

Commit b8d3291

Browse files
nathanchancemripard
authored andcommitted
drm/sitronix: st7571-i2c: Select VIDEOMODE_HELPERS
This driver requires of_get_display_timing() from CONFIG_VIDEOMODE_HELPERS but does not select it. If no other driver selects it, there will be a failure from the linker if the driver is built in or modpost if it is a module. ERROR: modpost: "of_get_display_timing" [drivers/gpu/drm/sitronix/st7571-i2c.ko] undefined! Select CONFIG_VIDEOMODE_HELPERS to resolve the build failure. Fixes: 4b35f0f ("drm/st7571-i2c: add support for Sitronix ST7571 LCD controller") Signed-off-by: Nathan Chancellor <[email protected]> Link: https://lore.kernel.org/r/20250610-drm-st7571-i2c-select-videomode-helpers-v1-1-d30b50ff6e64@kernel.org Signed-off-by: Maxime Ripard <[email protected]>
1 parent 0cee6c4 commit b8d3291

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/gpu/drm/sitronix/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ config DRM_ST7571_I2C
55
select DRM_GEM_SHMEM_HELPER
66
select DRM_KMS_HELPER
77
select REGMAP_I2C
8+
select VIDEOMODE_HELPERS
89
help
910
DRM driver for Sitronix ST7571 panels controlled over I2C.
1011

0 commit comments

Comments
 (0)