From: Biju Das Date: Mon, 21 Nov 2022 18:11:21 +0000 (+0000) Subject: drm: rcar-du: Fix Kconfig dependency between DRM and RZG2L_MIPI_DSI X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=ff6d979454ee21bf2d21040c8f2996b8f66726f2;p=linux.git drm: rcar-du: Fix Kconfig dependency between DRM and RZG2L_MIPI_DSI When CONFIG_DRM=m and CONFIG_DRM_RZG2L_MIPI_DSI=y, it results in a build failure. This patch fixes the build issue by adding dependency to DRM. Fixes: 7a043f978ed1 ("drm: rcar-du: Add RZ/G2L DSI driver") Reported-by: kernel test robot Signed-off-by: Biju Das Reviewed-by: Laurent Pinchart Signed-off-by: Laurent Pinchart --- diff --git a/drivers/gpu/drm/rcar-du/Kconfig b/drivers/gpu/drm/rcar-du/Kconfig index f14686549cbe4..3a57d8d792ee1 100644 --- a/drivers/gpu/drm/rcar-du/Kconfig +++ b/drivers/gpu/drm/rcar-du/Kconfig @@ -51,7 +51,7 @@ config DRM_RCAR_MIPI_DSI config DRM_RZG2L_MIPI_DSI tristate "RZ/G2L MIPI DSI Encoder Support" - depends on DRM_BRIDGE && OF + depends on DRM && DRM_BRIDGE && OF depends on ARCH_RENESAS || COMPILE_TEST select DRM_MIPI_DSI help