ARM: at91: fix pinctrl driver selection
authorLudovic Desroches <ludovic.desroches@atmel.com>
Tue, 1 Dec 2015 10:44:40 +0000 (11:44 +0100)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Fri, 4 Dec 2015 17:54:53 +0000 (18:54 +0100)
commit8423536fe453b3623f4ed7c2c3cca9b86af1ace5
tree55f75fb6a80ba78349bd7495daaecea1927086d4
parent863c1ca73f56d3473ff1d06357b31b0063538a96
ARM: at91: fix pinctrl driver selection

Move the selection of the pinctrl driver to SoC family level since we
have two pinctrl drivers. It is useless to select one which is not
compatible with the SoC.

[abelloni: fixed pm.c when only sama2d2 is selected]
Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
arch/arm/mach-at91/Kconfig
arch/arm/mach-at91/pm.c