]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm: bridge: DRM_FSL_LDB should depend on ARCH_MXC
authorGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 9 May 2022 13:52:02 +0000 (15:52 +0200)
committerRobert Foss <robert.foss@linaro.org>
Mon, 16 May 2022 14:56:12 +0000 (16:56 +0200)
The Freescale i.MX8MP LDB bridge is only present on Freescale i.MX8MP
SoCs.  Hence add a dependency on ARCH_MXC, to prevent asking the user
about this driver when configuring a kernel without i.MX SoC support.

Fixes: d3f6a16b01a8282e ("drm: bridge: ldb: Implement simple Freescale i.MX8MP LDB bridge")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Marek Vasut <marex@denx.de>
Signed-off-by: Robert Foss <robert.foss@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/449e08ca791a3ca308de5477c1bdc1f6eb1b34e7.1652104211.git.geert+renesas@glider.be
drivers/gpu/drm/bridge/Kconfig

index da3441830d46a584bc78fd1bb567bb0ae8f35e85..146ab069838fe97acab970acc60eedef78bc38b2 100644 (file)
@@ -78,6 +78,7 @@ config DRM_DISPLAY_CONNECTOR
 config DRM_FSL_LDB
        tristate "Freescale i.MX8MP LDB bridge"
        depends on OF
+       depends on ARCH_MXC || COMPILE_TEST
        select DRM_KMS_HELPER
        select DRM_PANEL_BRIDGE
        help