diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpio/Kconfig | 1 | ||||
-rw-r--r-- | drivers/gpio/gpio-lpc32xx.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 93aaadf99f28..5d53aba8e1c6 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig | |||
@@ -38,7 +38,6 @@ config GPIO_DEVRES | |||
38 | menuconfig GPIOLIB | 38 | menuconfig GPIOLIB |
39 | bool "GPIO Support" | 39 | bool "GPIO Support" |
40 | depends on ARCH_WANT_OPTIONAL_GPIOLIB || ARCH_REQUIRE_GPIOLIB | 40 | depends on ARCH_WANT_OPTIONAL_GPIOLIB || ARCH_REQUIRE_GPIOLIB |
41 | select GENERIC_GPIO | ||
42 | help | 41 | help |
43 | This enables GPIO support through the generic GPIO library. | 42 | This enables GPIO support through the generic GPIO library. |
44 | You only need to enable this, if you also want to enable | 43 | You only need to enable this, if you also want to enable |
diff --git a/drivers/gpio/gpio-lpc32xx.c b/drivers/gpio/gpio-lpc32xx.c index 36d7dee07b28..4ad9c6b6a134 100644 --- a/drivers/gpio/gpio-lpc32xx.c +++ b/drivers/gpio/gpio-lpc32xx.c | |||
@@ -255,7 +255,7 @@ static int __get_gpo_state_p3(struct lpc32xx_gpio_chip *group, | |||
255 | } | 255 | } |
256 | 256 | ||
257 | /* | 257 | /* |
258 | * GENERIC_GPIO primitives. | 258 | * GPIO primitives. |
259 | */ | 259 | */ |
260 | static int lpc32xx_gpio_dir_input_p012(struct gpio_chip *chip, | 260 | static int lpc32xx_gpio_dir_input_p012(struct gpio_chip *chip, |
261 | unsigned pin) | 261 | unsigned pin) |