aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBiju Das <[email protected]>2022-11-21 18:11:21 +0000
committerLaurent Pinchart <[email protected]>2022-11-22 02:20:23 +0200
commitff6d979454ee21bf2d21040c8f2996b8f66726f2 (patch)
tree82368755c3523926d8c49fc1ceac347896efaefa
parent4e291f2f585313efa5200cce655e17c94906e50a (diff)
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 <[email protected]> Signed-off-by: Biju Das <[email protected]> Reviewed-by: Laurent Pinchart <[email protected]> Signed-off-by: Laurent Pinchart <[email protected]>
-rw-r--r--drivers/gpu/drm/rcar-du/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/rcar-du/Kconfig b/drivers/gpu/drm/rcar-du/Kconfig
index f14686549cbe..3a57d8d792ee 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