diff mbox series

[1/2] drm: mxsfb: DRM_MXSFB should depend on ARCH_MXS || ARCH_MXC

Message ID 379f49058c7455802302c42bfbf615aaf3400f2c.1657530040.git.geert+renesas@glider.be (mailing list archive)
State New, archived
Headers show
Series [1/2] drm: mxsfb: DRM_MXSFB should depend on ARCH_MXS || ARCH_MXC | expand

Commit Message

Geert Uytterhoeven July 11, 2022, 9:01 a.m. UTC
Freescale/NXP i.MX LCDIF and eLCDIF LCD controllers are only present on
Freescale/NXP i.MX SoCs.  Hence add a dependency on ARCH_MXS ||
ARCH_MXC, to prevent asking the user about this driver when configuring
a kernel without Freescale/NXP i.MX support.

Fixes: 45d59d704080cc0c ("drm: Add new driver for MXSFB controller")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 drivers/gpu/drm/mxsfb/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Marek Vasut July 11, 2022, 10:36 a.m. UTC | #1
On 7/11/22 11:01, Geert Uytterhoeven wrote:
> Freescale/NXP i.MX LCDIF and eLCDIF LCD controllers are only present on
> Freescale/NXP i.MX SoCs.  Hence add a dependency on ARCH_MXS ||
> ARCH_MXC, to prevent asking the user about this driver when configuring
> a kernel without Freescale/NXP i.MX support.
> 
> Fixes: 45d59d704080cc0c ("drm: Add new driver for MXSFB controller")
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>

Is the Fixes tag really justified in this case ?

Otherwise

Reviewed-by: Marek Vasut <marex@denx.de>
diff mbox series

Patch

diff --git a/drivers/gpu/drm/mxsfb/Kconfig b/drivers/gpu/drm/mxsfb/Kconfig
index 873551b4552f5023..02cf19fcef315724 100644
--- a/drivers/gpu/drm/mxsfb/Kconfig
+++ b/drivers/gpu/drm/mxsfb/Kconfig
@@ -8,6 +8,7 @@  config DRM_MXSFB
 	tristate "i.MX (e)LCDIF LCD controller"
 	depends on DRM && OF
 	depends on COMMON_CLK
+	depends on ARCH_MXS || ARCH_MXC || COMPILE_TEST
 	select DRM_MXS
 	select DRM_KMS_HELPER
 	select DRM_GEM_CMA_HELPER