drm: mxsfb: DRM_MXSFB should depend on ARCH_MXS || ARCH_MXC
authorGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 21 Nov 2022 15:59:55 +0000 (16:59 +0100)
committerMarek Vasut <marex@denx.de>
Fri, 25 Nov 2022 21:47:34 +0000 (22:47 +0100)
commit7783cc67862f9166c901bfa0f80b717aa8d354dd
tree6521722f4cf29c1724e109260d7fa86c99715a31
parent10ef5f2992006720318b9886961820155b3750fd
drm: mxsfb: DRM_MXSFB should depend on ARCH_MXS || ARCH_MXC

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>
Reviewed-by: Marek Vasut <marex@denx.de>
Signed-off-by: Marek Vasut <marex@denx.de>
Link: https://patchwork.freedesktop.org/patch/msgid/98e74779ca2bc575d91afff03369e86b080c01ac.1669046358.git.geert+renesas@glider.be
drivers/gpu/drm/mxsfb/Kconfig