diff mbox series

drm: bridge: DRM_FSL_LDB should depend on ARCH_MXC

Message ID 449e08ca791a3ca308de5477c1bdc1f6eb1b34e7.1652104211.git.geert+renesas@glider.be (mailing list archive)
State New, archived
Headers show
Series drm: bridge: DRM_FSL_LDB should depend on ARCH_MXC | expand

Commit Message

Geert Uytterhoeven May 9, 2022, 1:52 p.m. UTC
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: 463db5c2ed4aed01 ("drm: bridge: ldb: Implement simple Freescale i.MX8MP LDB bridge")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 drivers/gpu/drm/bridge/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Marek Vasut May 9, 2022, 2:41 p.m. UTC | #1
On 5/9/22 15:52, Geert Uytterhoeven wrote:
> 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: 463db5c2ed4aed01 ("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>
Robert Foss May 17, 2022, 2:01 p.m. UTC | #2
On Mon, 9 May 2022 at 16:41, Marek Vasut <marex@denx.de> wrote:
>
> On 5/9/22 15:52, Geert Uytterhoeven wrote:
> > 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: 463db5c2ed4aed01 ("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>

Applied to drm-misc-next
diff mbox series

Patch

diff --git a/drivers/gpu/drm/bridge/Kconfig b/drivers/gpu/drm/bridge/Kconfig
index da3441830d46a584..146ab069838fe97a 100644
--- a/drivers/gpu/drm/bridge/Kconfig
+++ b/drivers/gpu/drm/bridge/Kconfig
@@ -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