Message ID | 2173132.bncoOm6QsM@wuerfel (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Thu, Feb 21, 2013 at 11:44 AM, Arnd Bergmann <arnd@arndb.de> wrote: > 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. > > Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Linus Walleij <linus.walleij@linaro.org> GENERIC_GPIO must die, it's just causing trouble like this all the time :-( Yours, Linus Walleij
On Thu, 21 Feb 2013 22:35:49 +0100, Linus Walleij <linus.walleij@linaro.org> wrote: > On Thu, Feb 21, 2013 at 11:44 AM, Arnd Bergmann <arnd@arndb.de> wrote: > > > 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. > > > > Signed-off-by: Arnd Bergmann <arnd@arndb.de> > > Acked-by: Linus Walleij <linus.walleij@linaro.org> Okay, I've put this into my gpio/next branch and I'll ask Linus to pull shortly. Thanks everyone. g.
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index ab4aa54..38d3f34 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -3,6 +3,7 @@ config ARM64 select ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE select ARCH_WANT_COMPAT_IPC_PARSE_VERSION select ARCH_WANT_FRAME_POINTERS + select ARCH_WANT_OPTIONAL_GPIOLIB select ARM_AMBA select ARM_ARCH_TIMER select CLONE_BACKWARDS @@ -93,7 +94,7 @@ config IOMMU_HELPER def_bool SWIOTLB config GENERIC_GPIO - def_bool y + bool source "init/Kconfig"