diff options
author | Arnd Bergmann <arnd@arndb.de> | 2013-02-21 05:42:57 -0500 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2013-02-22 09:12:10 -0500 |
commit | 9170100ee46402af6d318134525c728027318d67 (patch) | |
tree | b52e2aa6d4f6920565d4411116a5fea81c6df3b6 | |
parent | c7886b18273b07042e25e8d3ba5c983837b84123 (diff) |
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>
-rw-r--r-- | arch/arm64/Kconfig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index f8f362aafee9..e9a8fe607918 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig | |||
@@ -1,6 +1,7 @@ | |||
1 | config ARM64 | 1 | config ARM64 |
2 | def_bool y | 2 | def_bool y |
3 | select ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE | 3 | select ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE |
4 | select ARCH_WANT_OPTIONAL_GPIOLIB | ||
4 | select ARCH_WANT_COMPAT_IPC_PARSE_VERSION | 5 | select ARCH_WANT_COMPAT_IPC_PARSE_VERSION |
5 | select ARM_AMBA | 6 | select ARM_AMBA |
6 | select CLONE_BACKWARDS | 7 | select CLONE_BACKWARDS |
@@ -92,7 +93,7 @@ config IOMMU_HELPER | |||
92 | def_bool SWIOTLB | 93 | def_bool SWIOTLB |
93 | 94 | ||
94 | config GENERIC_GPIO | 95 | config GENERIC_GPIO |
95 | def_bool y | 96 | bool |
96 | 97 | ||
97 | source "init/Kconfig" | 98 | source "init/Kconfig" |
98 | 99 | ||