[PATCH 4/6] video i.MX: remove mx1 compile time dependencies
Baruch Siach
baruch at tkos.co.il
Thu Mar 3 08:48:58 EST 2011
Hi Sascha,
On Thu, Mar 03, 2011 at 02:30:58PM +0100, Sascha Hauer wrote:
> remove usage of CONFIG_ARCH_MX1. It's mostly unused anyway, replace
> it with cpu_is_mx1() where necessary. Also, depend on
> IMX_HAVE_PLATFORM_IMX_FB instead of the architectures directly.
>
> Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
> Acked-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>
> ---
> drivers/video/Kconfig | 2 +-
> drivers/video/imxfb.c | 28 ++++++----------------------
> 2 files changed, 7 insertions(+), 23 deletions(-)
>
> diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
> index 6bafb51b..59c1e97 100644
> --- a/drivers/video/Kconfig
> +++ b/drivers/video/Kconfig
> @@ -422,7 +422,7 @@ config FB_SA1100
>
> config FB_IMX
> tristate "Freescale i.MX LCD support"
> - depends on FB && (HAVE_FB_IMX || ARCH_MX1 || ARCH_MX2)
> + depends on FB && IMX_HAVE_PLATFORM_IMX_FB
The HAVE_FB_IMX symbol becomes redundant, then. We should remove it entirely
from drivers/video/Kconfig and arch/arm/plat-mxc/devices/Kconfig.
baruch
--
~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
More information about the linux-arm-kernel
mailing list