diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2012-04-09 15:05:44 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-06-10 00:36:05 +0900 |
commit | c18577564bf53876695646432e34e2e86c69a4b8 (patch) | |
tree | eff8f13ff4c89b3ef34bd48de46bd4a3b663981f /arch | |
parent | edb302ba464c6151ddb24ba4fb18c8e0a0ef9f7c (diff) | |
download | linux-3.10-c18577564bf53876695646432e34e2e86c69a4b8.tar.gz linux-3.10-c18577564bf53876695646432e34e2e86c69a4b8.tar.bz2 linux-3.10-c18577564bf53876695646432e34e2e86c69a4b8.zip |
microblaze: Do not select GENERIC_GPIO by default
commit 59516b07b4ffa7e607a5787674ea3c405f1b390c upstream.
The microblaze architecture does not provide a native GPIO API implementation
nor requires GPIOLIB, but still selects GENERIC_GPIO by default. As a result the
following build error occurs, if GPIOLIB is not selected:
include/asm-generic/gpio.h: In function 'gpio_get_value_cansleep':
include/asm-generic/gpio.h:218: error: implicit declaration of function '__gpio_get_value'
include/asm-generic/gpio.h: In function 'gpio_set_value_cansleep':
include/asm-generic/gpio.h:224: error: implicit declaration of function '__gpio_set_value'
This patch addresses the issue by not selecting GENERIC_GPIO by default. This
causes the GPIO API to be stubbed out if no implementation is provided.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Tested-by: Michal Simek <monstr@monstr.eu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/microblaze/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/microblaze/Kconfig b/arch/microblaze/Kconfig index ac22dc7f4ca..333b85e80c0 100644 --- a/arch/microblaze/Kconfig +++ b/arch/microblaze/Kconfig @@ -57,7 +57,7 @@ config GENERIC_CLOCKEVENTS def_bool y config GENERIC_GPIO - def_bool y + bool config GENERIC_CSUM def_bool y |