diff options
author | Alexandre Courbot <acourbot@nvidia.com> | 2013-03-28 07:34:56 -0400 |
---|---|---|
committer | Alexandre Courbot <acourbot@nvidia.com> | 2013-04-16 05:47:14 -0400 |
commit | 76ec9d18b8972f1b228f819f6126c9f022b3e642 (patch) | |
tree | c860b7360ffc3a99b2eb6db8cf132bffd4191804 /drivers/input | |
parent | a2523d3cdab76fbda28414fd82743815f3cc3df7 (diff) |
Convert selectors of GENERIC_GPIO to GPIOLIB
GENERIC_GPIO is now equivalent to GPIOLIB and features that depended on
GENERIC_GPIO can now depend on GPIOLIB to allow removal of this option.
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/input')
-rw-r--r-- | drivers/input/keyboard/Kconfig | 6 | ||||
-rw-r--r-- | drivers/input/misc/Kconfig | 8 | ||||
-rw-r--r-- | drivers/input/mouse/Kconfig | 2 |
3 files changed, 8 insertions, 8 deletions
diff --git a/drivers/input/keyboard/Kconfig b/drivers/input/keyboard/Kconfig index ac0500667000..772666f7d2ba 100644 --- a/drivers/input/keyboard/Kconfig +++ b/drivers/input/keyboard/Kconfig | |||
@@ -175,7 +175,7 @@ config KEYBOARD_EP93XX | |||
175 | 175 | ||
176 | config KEYBOARD_GPIO | 176 | config KEYBOARD_GPIO |
177 | tristate "GPIO Buttons" | 177 | tristate "GPIO Buttons" |
178 | depends on GENERIC_GPIO | 178 | depends on GPIOLIB |
179 | help | 179 | help |
180 | This driver implements support for buttons connected | 180 | This driver implements support for buttons connected |
181 | to GPIO pins of various CPUs (and some other chips). | 181 | to GPIO pins of various CPUs (and some other chips). |
@@ -190,7 +190,7 @@ config KEYBOARD_GPIO | |||
190 | 190 | ||
191 | config KEYBOARD_GPIO_POLLED | 191 | config KEYBOARD_GPIO_POLLED |
192 | tristate "Polled GPIO buttons" | 192 | tristate "Polled GPIO buttons" |
193 | depends on GENERIC_GPIO | 193 | depends on GPIOLIB |
194 | select INPUT_POLLDEV | 194 | select INPUT_POLLDEV |
195 | help | 195 | help |
196 | This driver implements support for buttons connected | 196 | This driver implements support for buttons connected |
@@ -241,7 +241,7 @@ config KEYBOARD_TCA8418 | |||
241 | 241 | ||
242 | config KEYBOARD_MATRIX | 242 | config KEYBOARD_MATRIX |
243 | tristate "GPIO driven matrix keypad support" | 243 | tristate "GPIO driven matrix keypad support" |
244 | depends on GENERIC_GPIO | 244 | depends on GPIOLIB |
245 | select INPUT_MATRIXKMAP | 245 | select INPUT_MATRIXKMAP |
246 | help | 246 | help |
247 | Enable support for GPIO driven matrix keypad. | 247 | Enable support for GPIO driven matrix keypad. |
diff --git a/drivers/input/misc/Kconfig b/drivers/input/misc/Kconfig index 259ef31abb18..262cda21dcb4 100644 --- a/drivers/input/misc/Kconfig +++ b/drivers/input/misc/Kconfig | |||
@@ -214,7 +214,7 @@ config INPUT_APANEL | |||
214 | config INPUT_GP2A | 214 | config INPUT_GP2A |
215 | tristate "Sharp GP2AP002A00F I2C Proximity/Opto sensor driver" | 215 | tristate "Sharp GP2AP002A00F I2C Proximity/Opto sensor driver" |
216 | depends on I2C | 216 | depends on I2C |
217 | depends on GENERIC_GPIO | 217 | depends on GPIOLIB |
218 | help | 218 | help |
219 | Say Y here if you have a Sharp GP2AP002A00F proximity/als combo-chip | 219 | Say Y here if you have a Sharp GP2AP002A00F proximity/als combo-chip |
220 | hooked to an I2C bus. | 220 | hooked to an I2C bus. |
@@ -224,7 +224,7 @@ config INPUT_GP2A | |||
224 | 224 | ||
225 | config INPUT_GPIO_TILT_POLLED | 225 | config INPUT_GPIO_TILT_POLLED |
226 | tristate "Polled GPIO tilt switch" | 226 | tristate "Polled GPIO tilt switch" |
227 | depends on GENERIC_GPIO | 227 | depends on GPIOLIB |
228 | select INPUT_POLLDEV | 228 | select INPUT_POLLDEV |
229 | help | 229 | help |
230 | This driver implements support for tilt switches connected | 230 | This driver implements support for tilt switches connected |
@@ -472,7 +472,7 @@ config INPUT_PWM_BEEPER | |||
472 | 472 | ||
473 | config INPUT_GPIO_ROTARY_ENCODER | 473 | config INPUT_GPIO_ROTARY_ENCODER |
474 | tristate "Rotary encoders connected to GPIO pins" | 474 | tristate "Rotary encoders connected to GPIO pins" |
475 | depends on GPIOLIB && GENERIC_GPIO | 475 | depends on GPIOLIB |
476 | help | 476 | help |
477 | Say Y here to add support for rotary encoders connected to GPIO lines. | 477 | Say Y here to add support for rotary encoders connected to GPIO lines. |
478 | Check file:Documentation/input/rotary-encoder.txt for more | 478 | Check file:Documentation/input/rotary-encoder.txt for more |
@@ -484,7 +484,7 @@ config INPUT_GPIO_ROTARY_ENCODER | |||
484 | config INPUT_RB532_BUTTON | 484 | config INPUT_RB532_BUTTON |
485 | tristate "Mikrotik Routerboard 532 button interface" | 485 | tristate "Mikrotik Routerboard 532 button interface" |
486 | depends on MIKROTIK_RB532 | 486 | depends on MIKROTIK_RB532 |
487 | depends on GPIOLIB && GENERIC_GPIO | 487 | depends on GPIOLIB |
488 | select INPUT_POLLDEV | 488 | select INPUT_POLLDEV |
489 | help | 489 | help |
490 | Say Y here if you want support for the S1 button built into | 490 | Say Y here if you want support for the S1 button built into |
diff --git a/drivers/input/mouse/Kconfig b/drivers/input/mouse/Kconfig index 802bd6a72d73..effa9c5f2c5c 100644 --- a/drivers/input/mouse/Kconfig +++ b/drivers/input/mouse/Kconfig | |||
@@ -295,7 +295,7 @@ config MOUSE_VSXXXAA | |||
295 | 295 | ||
296 | config MOUSE_GPIO | 296 | config MOUSE_GPIO |
297 | tristate "GPIO mouse" | 297 | tristate "GPIO mouse" |
298 | depends on GENERIC_GPIO | 298 | depends on GPIOLIB |
299 | select INPUT_POLLDEV | 299 | select INPUT_POLLDEV |
300 | help | 300 | help |
301 | This driver simulates a mouse on GPIO lines of various CPUs (and some | 301 | This driver simulates a mouse on GPIO lines of various CPUs (and some |