]> git.baikalelectronics.ru Git - kernel.git/commit
Input: atmel-wm97xx - only build for AVR32
authorArnd Bergmann <arnd@arndb.de>
Mon, 12 May 2014 18:01:48 +0000 (11:01 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 12 May 2014 19:33:55 +0000 (12:33 -0700)
commit9d5cf6a0da7fb7ffc17a2ffd2236f57918020135
tree15b575b081d155fca6b7499da40d3dd56696dc8b
parentf2a7ec051ba5bfbe8572428105edbacf188eb527
Input: atmel-wm97xx - only build for AVR32

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.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/Kconfig