diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2012-04-09 15:05:44 +0200 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2012-05-25 06:34:32 +0200 |
commit | 59516b07b4ffa7e607a5787674ea3c405f1b390c (patch) | |
tree | c57a59f4a81e88d65ea8e87053fd585c9069aaeb /arch/microblaze/mm | |
parent | 76e10d158efb6d4516018846f60c2ab5501900bc (diff) | |
download | blackbird-op-linux-59516b07b4ffa7e607a5787674ea3c405f1b390c.tar.gz blackbird-op-linux-59516b07b4ffa7e607a5787674ea3c405f1b390c.zip |
microblaze: Do not select GENERIC_GPIO by default
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>
Cc: stable@vger.kernel.org
Tested-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/mm')
0 files changed, 0 insertions, 0 deletions