]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/sitronix: st7571-i2c: Select VIDEOMODE_HELPERS
authorNathan Chancellor <nathan@kernel.org>
Tue, 10 Jun 2025 19:40:38 +0000 (12:40 -0700)
committerMaxime Ripard <mripard@kernel.org>
Wed, 11 Jun 2025 08:44:56 +0000 (10:44 +0200)
commitb8d3291d3185b5c69ba36362ae1a370f06a33e5c
tree171c689e6012f8e27059b318fc5207cf70640c1f
parent0cee6c4d3518b2e757aedae78771f17149f57653
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: 4b35f0f41ee2 ("drm/st7571-i2c: add support for Sitronix ST7571 LCD controller")
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Link: https://lore.kernel.org/r/20250610-drm-st7571-i2c-select-videomode-helpers-v1-1-d30b50ff6e64@kernel.org
Signed-off-by: Maxime Ripard <mripard@kernel.org>
drivers/gpu/drm/sitronix/Kconfig