[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5370C9BD.4040201@atmel.com>
Date: Mon, 12 May 2014 15:16:45 +0200
From: Nicolas Ferre <nicolas.ferre@...el.com>
To: Arnd Bergmann <arnd@...db.de>,
<linux-arm-kernel@...ts.infradead.org>,
Dmitry Torokhov <dmitry.torokhov@...il.com>,
<linux-input@...r.kernel.org>, Liam Girdwood <lrg@...mlogic.co.uk>
CC: <linux-kernel@...r.kernel.org>, Mark Brown <broonie@...nel.org>
Subject: Re: [PATCH 2/2] input: atmel-wm97xx: only build for AVR32
On 08/05/2014 16:56, Arnd Bergmann :
> Building this driver on ARM/at91 always gives us this error message:
>
> drivers/input/touchscreen/atmel-wm97xx.c:63:2: error: #error Unknown CPU, this driver only supports AT32AP700X CPUs.
>
> Clearly this configuration is not meant to work, so let's just prevent
> it in Kconfig. If we ever want to use it on another platform, we should
> also pass proper resources for GPIO, IRQ and memory, which are hardcoded
> to AT32AP700X at the moment.
Yes it seems so:
Acked-by: Nicolas Ferre <nicolas.ferre@...el.com>
> Signed-off-by: Arnd Bergmann <arnd@...db.de>
> Cc: Mark Brown <broonie@...nel.org>
> Cc: Liam Girdwood <lrg@...mlogic.co.uk>
> Cc: Dmitry Torokhov <dmitry.torokhov@...il.com>
> Cc: linux-input@...r.kernel.org
> ---
> drivers/input/touchscreen/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/input/touchscreen/Kconfig b/drivers/input/touchscreen/Kconfig
> index e2f0264..fe4c264 100644
> --- a/drivers/input/touchscreen/Kconfig
> +++ b/drivers/input/touchscreen/Kconfig
> @@ -640,7 +640,7 @@ config TOUCHSCREEN_WM9713
>
> config TOUCHSCREEN_WM97XX_ATMEL
> tristate "WM97xx Atmel accelerated touch"
> - depends on TOUCHSCREEN_WM97XX && (AVR32 || ARCH_AT91)
> + depends on TOUCHSCREEN_WM97XX && AVR32
> help
> Say Y here for support for streaming mode with WM97xx touchscreens
> on Atmel AT91 or AVR32 systems with an AC97C module.
>
--
Nicolas Ferre
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists