diff options
author | Alexandre Courbot <acourbot@nvidia.com> | 2013-10-20 15:14:59 -0700 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-10-29 18:26:13 -0700 |
commit | b69ac52449c658b7ac40034dc3c5f5f4a71a723d (patch) | |
tree | 9ad272c311df0307aa0dd2ddada7c0d219ab0440 /drivers/gpio | |
parent | 5fcdb9dc98e76001060bb89e3b1269384f9f5201 (diff) | |
download | linux-b69ac52449c658b7ac40034dc3c5f5f4a71a723d.tar.bz2 |
gpiolib: make GPIO_DEVRES depend on GPIOLIB
Current Kconfig allows GPIO_DEVRES to be selected and compiled without
GPIOLIB. This does not make sense anymore since GPIOLIB has become the
exclusive way to deal with GPIOs. This patch makes GPIO_DEVRES available
only if GPIOLIB is selected.
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio')
-rw-r--r-- | drivers/gpio/Kconfig | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 92e258c58638..62eb9ef47e78 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -30,10 +30,6 @@ config ARCH_REQUIRE_GPIOLIB Selecting this from the architecture code will cause the gpiolib code to always get built in. -config GPIO_DEVRES - def_bool y - depends on HAS_IOMEM - menuconfig GPIOLIB bool "GPIO Support" @@ -47,6 +43,10 @@ menuconfig GPIOLIB if GPIOLIB +config GPIO_DEVRES + def_bool y + depends on HAS_IOMEM + config OF_GPIO def_bool y depends on OF |