When compile-testing this driver with all other drivers disabled, sprd_dsi.c fails to compile due to a missing definition of struct regmap_bus. Ensure that this does not happen by declaring the compile-time dependency on regmap in Kconfig.
Signed-off-by: Otto Pflüger <otto.pflue...@abscue.de> --- drivers/gpu/drm/sprd/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/sprd/Kconfig b/drivers/gpu/drm/sprd/Kconfig index 1afcdbf6f0ee3304f2297835241c9bb10d422154..828384d42c5aac4bf194558f22d9a77f7c693572 100644 --- a/drivers/gpu/drm/sprd/Kconfig +++ b/drivers/gpu/drm/sprd/Kconfig @@ -7,6 +7,7 @@ config DRM_SPRD select DRM_GEM_DMA_HELPER select DRM_KMS_HELPER select DRM_MIPI_DSI + select REGMAP select VIDEOMODE_HELPERS help Choose this option if you have a Unisoc chipset. -- 2.50.0