arm64: select ARCH_WANT_OPTIONAL_GPIOLIB
authorArnd Bergmann <arnd@arndb.de>
Thu, 21 Feb 2013 10:42:57 +0000 (11:42 +0100)
committerGrant Likely <grant.likely@secretlab.ca>
Fri, 22 Feb 2013 14:12:10 +0000 (14:12 +0000)
commit9170100ee46402af6d318134525c728027318d67
treeb52e2aa6d4f6920565d4411116a5fea81c6df3b6
parentc7886b18273b07042e25e8d3ba5c983837b84123
arm64: select ARCH_WANT_OPTIONAL_GPIOLIB

An architecture should not unconditionally enable 'GENERIC_GPIO'
without providing an implementation. In case of arm64, selecting
ARCH_WANT_OPTIONAL_GPIOLIB is the right solution, because it
lets us enable GPIOLIB when configuring the kernel, and that
implicitly turns on GENERIC_GPIO.

Reported-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
arch/arm64/Kconfig