diff options
-rw-r--r-- | arch/unicore32/Kconfig | 2 | ||||
-rw-r--r-- | drivers/extcon/Kconfig | 2 | ||||
-rw-r--r-- | drivers/i2c/busses/Kconfig | 4 | ||||
-rw-r--r-- | drivers/i2c/muxes/Kconfig | 2 | ||||
-rw-r--r-- | drivers/input/keyboard/Kconfig | 6 | ||||
-rw-r--r-- | drivers/input/misc/Kconfig | 8 | ||||
-rw-r--r-- | drivers/input/mouse/Kconfig | 2 | ||||
-rw-r--r-- | drivers/leds/Kconfig | 6 | ||||
-rw-r--r-- | drivers/mtd/maps/Kconfig | 2 | ||||
-rw-r--r-- | drivers/mtd/nand/Kconfig | 2 | ||||
-rw-r--r-- | drivers/net/phy/Kconfig | 2 | ||||
-rw-r--r-- | drivers/pinctrl/sh-pfc/Kconfig | 26 | ||||
-rw-r--r-- | drivers/regulator/Kconfig | 2 | ||||
-rw-r--r-- | drivers/spi/Kconfig | 8 | ||||
-rw-r--r-- | drivers/staging/android/Kconfig | 2 | ||||
-rw-r--r-- | drivers/staging/iio/accel/Kconfig | 2 | ||||
-rw-r--r-- | drivers/staging/iio/adc/Kconfig | 2 | ||||
-rw-r--r-- | drivers/staging/iio/addac/Kconfig | 2 | ||||
-rw-r--r-- | drivers/staging/iio/resolver/Kconfig | 4 | ||||
-rw-r--r-- | drivers/staging/iio/trigger/Kconfig | 2 | ||||
-rw-r--r-- | drivers/usb/otg/Kconfig | 2 | ||||
-rw-r--r-- | drivers/video/Kconfig | 2 | ||||
-rw-r--r-- | drivers/video/backlight/Kconfig | 4 | ||||
-rw-r--r-- | drivers/w1/masters/Kconfig | 2 | ||||
-rw-r--r-- | include/linux/gpio.h | 6 |
25 files changed, 52 insertions, 52 deletions
diff --git a/arch/unicore32/Kconfig b/arch/unicore32/Kconfig index 63521dc6c9d5..468cd706be1d 100644 --- a/arch/unicore32/Kconfig +++ b/arch/unicore32/Kconfig | |||
@@ -156,7 +156,7 @@ source "mm/Kconfig" | |||
156 | 156 | ||
157 | config LEDS | 157 | config LEDS |
158 | def_bool y | 158 | def_bool y |
159 | depends on GENERIC_GPIO | 159 | depends on GPIOLIB |
160 | 160 | ||
161 | config ALIGNMENT_TRAP | 161 | config ALIGNMENT_TRAP |
162 | def_bool y | 162 | def_bool y |
diff --git a/drivers/extcon/Kconfig b/drivers/extcon/Kconfig index 5168a1324a65..3297301a42d4 100644 --- a/drivers/extcon/Kconfig +++ b/drivers/extcon/Kconfig | |||
@@ -16,7 +16,7 @@ comment "Extcon Device Drivers" | |||
16 | 16 | ||
17 | config EXTCON_GPIO | 17 | config EXTCON_GPIO |
18 | tristate "GPIO extcon support" | 18 | tristate "GPIO extcon support" |
19 | depends on GENERIC_GPIO | 19 | depends on GPIOLIB |
20 | help | 20 | help |
21 | Say Y here to enable GPIO based extcon support. Note that GPIO | 21 | Say Y here to enable GPIO based extcon support. Note that GPIO |
22 | extcon supports single state per extcon instance. | 22 | extcon supports single state per extcon instance. |
diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig index adfee98486b1..631736e2e7ed 100644 --- a/drivers/i2c/busses/Kconfig +++ b/drivers/i2c/busses/Kconfig | |||
@@ -363,7 +363,7 @@ config I2C_BLACKFIN_TWI_CLK_KHZ | |||
363 | 363 | ||
364 | config I2C_CBUS_GPIO | 364 | config I2C_CBUS_GPIO |
365 | tristate "CBUS I2C driver" | 365 | tristate "CBUS I2C driver" |
366 | depends on GENERIC_GPIO | 366 | depends on GPIOLIB |
367 | help | 367 | help |
368 | Support for CBUS access using I2C API. Mostly relevant for Nokia | 368 | Support for CBUS access using I2C API. Mostly relevant for Nokia |
369 | Internet Tablets (770, N800 and N810). | 369 | Internet Tablets (770, N800 and N810). |
@@ -436,7 +436,7 @@ config I2C_EG20T | |||
436 | 436 | ||
437 | config I2C_GPIO | 437 | config I2C_GPIO |
438 | tristate "GPIO-based bitbanging I2C" | 438 | tristate "GPIO-based bitbanging I2C" |
439 | depends on GENERIC_GPIO | 439 | depends on GPIOLIB |
440 | select I2C_ALGOBIT | 440 | select I2C_ALGOBIT |
441 | help | 441 | help |
442 | This is a very simple bitbanging I2C driver utilizing the | 442 | This is a very simple bitbanging I2C driver utilizing the |
diff --git a/drivers/i2c/muxes/Kconfig b/drivers/i2c/muxes/Kconfig index 0be5b83c08fa..40062ed83f37 100644 --- a/drivers/i2c/muxes/Kconfig +++ b/drivers/i2c/muxes/Kconfig | |||
@@ -7,7 +7,7 @@ menu "Multiplexer I2C Chip support" | |||
7 | 7 | ||
8 | config I2C_MUX_GPIO | 8 | config I2C_MUX_GPIO |
9 | tristate "GPIO-based I2C multiplexer" | 9 | tristate "GPIO-based I2C multiplexer" |
10 | depends on GENERIC_GPIO | 10 | depends on GPIOLIB |
11 | help | 11 | help |
12 | If you say yes to this option, support will be included for a | 12 | If you say yes to this option, support will be included for a |
13 | GPIO based I2C multiplexer. This driver provides access to | 13 | GPIO based I2C multiplexer. This driver provides access to |
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 |
diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig index ec50824c02ec..2a531774f4d1 100644 --- a/drivers/leds/Kconfig +++ b/drivers/leds/Kconfig | |||
@@ -173,7 +173,7 @@ config LEDS_PCA9532_GPIO | |||
173 | config LEDS_GPIO | 173 | config LEDS_GPIO |
174 | tristate "LED Support for GPIO connected LEDs" | 174 | tristate "LED Support for GPIO connected LEDs" |
175 | depends on LEDS_CLASS | 175 | depends on LEDS_CLASS |
176 | depends on GENERIC_GPIO | 176 | depends on GPIOLIB |
177 | help | 177 | help |
178 | This option enables support for the LEDs connected to GPIO | 178 | This option enables support for the LEDs connected to GPIO |
179 | outputs. To be useful the particular board must have LEDs | 179 | outputs. To be useful the particular board must have LEDs |
@@ -352,7 +352,7 @@ config LEDS_INTEL_SS4200 | |||
352 | config LEDS_LT3593 | 352 | config LEDS_LT3593 |
353 | tristate "LED driver for LT3593 controllers" | 353 | tristate "LED driver for LT3593 controllers" |
354 | depends on LEDS_CLASS | 354 | depends on LEDS_CLASS |
355 | depends on GENERIC_GPIO | 355 | depends on GPIOLIB |
356 | help | 356 | help |
357 | This option enables support for LEDs driven by a Linear Technology | 357 | This option enables support for LEDs driven by a Linear Technology |
358 | LT3593 controller. This controller uses a special one-wire pulse | 358 | LT3593 controller. This controller uses a special one-wire pulse |
@@ -421,7 +421,7 @@ config LEDS_ASIC3 | |||
421 | 421 | ||
422 | config LEDS_RENESAS_TPU | 422 | config LEDS_RENESAS_TPU |
423 | bool "LED support for Renesas TPU" | 423 | bool "LED support for Renesas TPU" |
424 | depends on LEDS_CLASS=y && HAVE_CLK && GENERIC_GPIO | 424 | depends on LEDS_CLASS=y && HAVE_CLK && GPIOLIB |
425 | help | 425 | help |
426 | This option enables build of the LED TPU platform driver, | 426 | This option enables build of the LED TPU platform driver, |
427 | suitable to drive any TPU channel on newer Renesas SoCs. | 427 | suitable to drive any TPU channel on newer Renesas SoCs. |
diff --git a/drivers/mtd/maps/Kconfig b/drivers/mtd/maps/Kconfig index 3ed17c4d4358..c26938382f64 100644 --- a/drivers/mtd/maps/Kconfig +++ b/drivers/mtd/maps/Kconfig | |||
@@ -419,7 +419,7 @@ config MTD_BFIN_ASYNC | |||
419 | 419 | ||
420 | config MTD_GPIO_ADDR | 420 | config MTD_GPIO_ADDR |
421 | tristate "GPIO-assisted Flash Chip Support" | 421 | tristate "GPIO-assisted Flash Chip Support" |
422 | depends on GENERIC_GPIO || GPIOLIB | 422 | depends on GPIOLIB |
423 | depends on MTD_COMPLEX_MAPPINGS | 423 | depends on MTD_COMPLEX_MAPPINGS |
424 | help | 424 | help |
425 | Map driver which allows flashes to be partially physically addressed | 425 | Map driver which allows flashes to be partially physically addressed |
diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig index 81bf5e52601e..5d54ad32697f 100644 --- a/drivers/mtd/nand/Kconfig +++ b/drivers/mtd/nand/Kconfig | |||
@@ -89,7 +89,7 @@ config MTD_NAND_H1900 | |||
89 | 89 | ||
90 | config MTD_NAND_GPIO | 90 | config MTD_NAND_GPIO |
91 | tristate "GPIO NAND Flash driver" | 91 | tristate "GPIO NAND Flash driver" |
92 | depends on GENERIC_GPIO && ARM | 92 | depends on GPIOLIB && ARM |
93 | help | 93 | help |
94 | This enables a GPIO based NAND flash driver. | 94 | This enables a GPIO based NAND flash driver. |
95 | 95 | ||
diff --git a/drivers/net/phy/Kconfig b/drivers/net/phy/Kconfig index 450345261bd3..1e11f2bfd9ce 100644 --- a/drivers/net/phy/Kconfig +++ b/drivers/net/phy/Kconfig | |||
@@ -126,7 +126,7 @@ config MDIO_BITBANG | |||
126 | 126 | ||
127 | config MDIO_GPIO | 127 | config MDIO_GPIO |
128 | tristate "Support for GPIO lib-based bitbanged MDIO buses" | 128 | tristate "Support for GPIO lib-based bitbanged MDIO buses" |
129 | depends on MDIO_BITBANG && GENERIC_GPIO | 129 | depends on MDIO_BITBANG && GPIOLIB |
130 | ---help--- | 130 | ---help--- |
131 | Supports GPIO lib-based MDIO busses. | 131 | Supports GPIO lib-based MDIO busses. |
132 | 132 | ||
diff --git a/drivers/pinctrl/sh-pfc/Kconfig b/drivers/pinctrl/sh-pfc/Kconfig index c3340f54d2ad..99ba8e4f2a30 100644 --- a/drivers/pinctrl/sh-pfc/Kconfig +++ b/drivers/pinctrl/sh-pfc/Kconfig | |||
@@ -6,7 +6,7 @@ if ARCH_SHMOBILE || SUPERH | |||
6 | 6 | ||
7 | config PINCTRL_SH_PFC | 7 | config PINCTRL_SH_PFC |
8 | # XXX move off the gpio dependency | 8 | # XXX move off the gpio dependency |
9 | depends on GENERIC_GPIO | 9 | depends on GPIOLIB |
10 | select GPIO_SH_PFC if ARCH_REQUIRE_GPIOLIB | 10 | select GPIO_SH_PFC if ARCH_REQUIRE_GPIOLIB |
11 | select PINMUX | 11 | select PINMUX |
12 | select PINCONF | 12 | select PINCONF |
@@ -34,19 +34,19 @@ config PINCTRL_PFC_R8A7779 | |||
34 | config PINCTRL_PFC_SH7203 | 34 | config PINCTRL_PFC_SH7203 |
35 | def_bool y | 35 | def_bool y |
36 | depends on CPU_SUBTYPE_SH7203 | 36 | depends on CPU_SUBTYPE_SH7203 |
37 | depends on GENERIC_GPIO | 37 | depends on GPIOLIB |
38 | select PINCTRL_SH_PFC | 38 | select PINCTRL_SH_PFC |
39 | 39 | ||
40 | config PINCTRL_PFC_SH7264 | 40 | config PINCTRL_PFC_SH7264 |
41 | def_bool y | 41 | def_bool y |
42 | depends on CPU_SUBTYPE_SH7264 | 42 | depends on CPU_SUBTYPE_SH7264 |
43 | depends on GENERIC_GPIO | 43 | depends on GPIOLIB |
44 | select PINCTRL_SH_PFC | 44 | select PINCTRL_SH_PFC |
45 | 45 | ||
46 | config PINCTRL_PFC_SH7269 | 46 | config PINCTRL_PFC_SH7269 |
47 | def_bool y | 47 | def_bool y |
48 | depends on CPU_SUBTYPE_SH7269 | 48 | depends on CPU_SUBTYPE_SH7269 |
49 | depends on GENERIC_GPIO | 49 | depends on GPIOLIB |
50 | select PINCTRL_SH_PFC | 50 | select PINCTRL_SH_PFC |
51 | 51 | ||
52 | config PINCTRL_PFC_SH7372 | 52 | config PINCTRL_PFC_SH7372 |
@@ -62,55 +62,55 @@ config PINCTRL_PFC_SH73A0 | |||
62 | config PINCTRL_PFC_SH7720 | 62 | config PINCTRL_PFC_SH7720 |
63 | def_bool y | 63 | def_bool y |
64 | depends on CPU_SUBTYPE_SH7720 | 64 | depends on CPU_SUBTYPE_SH7720 |
65 | depends on GENERIC_GPIO | 65 | depends on GPIOLIB |
66 | select PINCTRL_SH_PFC | 66 | select PINCTRL_SH_PFC |
67 | 67 | ||
68 | config PINCTRL_PFC_SH7722 | 68 | config PINCTRL_PFC_SH7722 |
69 | def_bool y | 69 | def_bool y |
70 | depends on CPU_SUBTYPE_SH7722 | 70 | depends on CPU_SUBTYPE_SH7722 |
71 | depends on GENERIC_GPIO | 71 | depends on GPIOLIB |
72 | select PINCTRL_SH_PFC | 72 | select PINCTRL_SH_PFC |
73 | 73 | ||
74 | config PINCTRL_PFC_SH7723 | 74 | config PINCTRL_PFC_SH7723 |
75 | def_bool y | 75 | def_bool y |
76 | depends on CPU_SUBTYPE_SH7723 | 76 | depends on CPU_SUBTYPE_SH7723 |
77 | depends on GENERIC_GPIO | 77 | depends on GPIOLIB |
78 | select PINCTRL_SH_PFC | 78 | select PINCTRL_SH_PFC |
79 | 79 | ||
80 | config PINCTRL_PFC_SH7724 | 80 | config PINCTRL_PFC_SH7724 |
81 | def_bool y | 81 | def_bool y |
82 | depends on CPU_SUBTYPE_SH7724 | 82 | depends on CPU_SUBTYPE_SH7724 |
83 | depends on GENERIC_GPIO | 83 | depends on GPIOLIB |
84 | select PINCTRL_SH_PFC | 84 | select PINCTRL_SH_PFC |
85 | 85 | ||
86 | config PINCTRL_PFC_SH7734 | 86 | config PINCTRL_PFC_SH7734 |
87 | def_bool y | 87 | def_bool y |
88 | depends on CPU_SUBTYPE_SH7734 | 88 | depends on CPU_SUBTYPE_SH7734 |
89 | depends on GENERIC_GPIO | 89 | depends on GPIOLIB |
90 | select PINCTRL_SH_PFC | 90 | select PINCTRL_SH_PFC |
91 | 91 | ||
92 | config PINCTRL_PFC_SH7757 | 92 | config PINCTRL_PFC_SH7757 |
93 | def_bool y | 93 | def_bool y |
94 | depends on CPU_SUBTYPE_SH7757 | 94 | depends on CPU_SUBTYPE_SH7757 |
95 | depends on GENERIC_GPIO | 95 | depends on GPIOLIB |
96 | select PINCTRL_SH_PFC | 96 | select PINCTRL_SH_PFC |
97 | 97 | ||
98 | config PINCTRL_PFC_SH7785 | 98 | config PINCTRL_PFC_SH7785 |
99 | def_bool y | 99 | def_bool y |
100 | depends on CPU_SUBTYPE_SH7785 | 100 | depends on CPU_SUBTYPE_SH7785 |
101 | depends on GENERIC_GPIO | 101 | depends on GPIOLIB |
102 | select PINCTRL_SH_PFC | 102 | select PINCTRL_SH_PFC |
103 | 103 | ||
104 | config PINCTRL_PFC_SH7786 | 104 | config PINCTRL_PFC_SH7786 |
105 | def_bool y | 105 | def_bool y |
106 | depends on CPU_SUBTYPE_SH7786 | 106 | depends on CPU_SUBTYPE_SH7786 |
107 | depends on GENERIC_GPIO | 107 | depends on GPIOLIB |
108 | select PINCTRL_SH_PFC | 108 | select PINCTRL_SH_PFC |
109 | 109 | ||
110 | config PINCTRL_PFC_SHX3 | 110 | config PINCTRL_PFC_SHX3 |
111 | def_bool y | 111 | def_bool y |
112 | depends on CPU_SUBTYPE_SHX3 | 112 | depends on CPU_SUBTYPE_SHX3 |
113 | depends on GENERIC_GPIO | 113 | depends on GPIOLIB |
114 | select PINCTRL_SH_PFC | 114 | select PINCTRL_SH_PFC |
115 | 115 | ||
116 | endif | 116 | endif |
diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig index a5d97eaee99e..8bb26446037e 100644 --- a/drivers/regulator/Kconfig +++ b/drivers/regulator/Kconfig | |||
@@ -66,7 +66,7 @@ config REGULATOR_USERSPACE_CONSUMER | |||
66 | 66 | ||
67 | config REGULATOR_GPIO | 67 | config REGULATOR_GPIO |
68 | tristate "GPIO regulator support" | 68 | tristate "GPIO regulator support" |
69 | depends on GENERIC_GPIO | 69 | depends on GPIOLIB |
70 | help | 70 | help |
71 | This driver provides support for regulators that can be | 71 | This driver provides support for regulators that can be |
72 | controlled via gpios. | 72 | controlled via gpios. |
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index f80eee74a311..134b6f3d0274 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig | |||
@@ -61,7 +61,7 @@ config SPI_ALTERA | |||
61 | 61 | ||
62 | config SPI_ATH79 | 62 | config SPI_ATH79 |
63 | tristate "Atheros AR71XX/AR724X/AR913X SPI controller driver" | 63 | tristate "Atheros AR71XX/AR724X/AR913X SPI controller driver" |
64 | depends on ATH79 && GENERIC_GPIO | 64 | depends on ATH79 && GPIOLIB |
65 | select SPI_BITBANG | 65 | select SPI_BITBANG |
66 | help | 66 | help |
67 | This enables support for the SPI controller present on the | 67 | This enables support for the SPI controller present on the |
@@ -163,7 +163,7 @@ config SPI_FALCON | |||
163 | 163 | ||
164 | config SPI_GPIO | 164 | config SPI_GPIO |
165 | tristate "GPIO-based bitbanging SPI Master" | 165 | tristate "GPIO-based bitbanging SPI Master" |
166 | depends on GENERIC_GPIO | 166 | depends on GPIOLIB |
167 | select SPI_BITBANG | 167 | select SPI_BITBANG |
168 | help | 168 | help |
169 | This simple GPIO bitbanging SPI master uses the arch-neutral GPIO | 169 | This simple GPIO bitbanging SPI master uses the arch-neutral GPIO |
@@ -240,7 +240,7 @@ config SPI_FSL_ESPI | |||
240 | 240 | ||
241 | config SPI_OC_TINY | 241 | config SPI_OC_TINY |
242 | tristate "OpenCores tiny SPI" | 242 | tristate "OpenCores tiny SPI" |
243 | depends on GENERIC_GPIO | 243 | depends on GPIOLIB |
244 | select SPI_BITBANG | 244 | select SPI_BITBANG |
245 | help | 245 | help |
246 | This is the driver for OpenCores tiny SPI master controller. | 246 | This is the driver for OpenCores tiny SPI master controller. |
@@ -430,7 +430,7 @@ config SPI_TOPCLIFF_PCH | |||
430 | 430 | ||
431 | config SPI_TXX9 | 431 | config SPI_TXX9 |
432 | tristate "Toshiba TXx9 SPI controller" | 432 | tristate "Toshiba TXx9 SPI controller" |
433 | depends on GENERIC_GPIO && CPU_TX49XX | 433 | depends on GPIOLIB && CPU_TX49XX |
434 | help | 434 | help |
435 | SPI driver for Toshiba TXx9 MIPS SoCs | 435 | SPI driver for Toshiba TXx9 MIPS SoCs |
436 | 436 | ||
diff --git a/drivers/staging/android/Kconfig b/drivers/staging/android/Kconfig index 465a28c08f20..9feb6ff06505 100644 --- a/drivers/staging/android/Kconfig +++ b/drivers/staging/android/Kconfig | |||
@@ -54,7 +54,7 @@ config ANDROID_TIMED_OUTPUT | |||
54 | 54 | ||
55 | config ANDROID_TIMED_GPIO | 55 | config ANDROID_TIMED_GPIO |
56 | tristate "Android timed gpio driver" | 56 | tristate "Android timed gpio driver" |
57 | depends on GENERIC_GPIO && ANDROID_TIMED_OUTPUT | 57 | depends on GPIOLIB && ANDROID_TIMED_OUTPUT |
58 | default n | 58 | default n |
59 | 59 | ||
60 | config ANDROID_LOW_MEMORY_KILLER | 60 | config ANDROID_LOW_MEMORY_KILLER |
diff --git a/drivers/staging/iio/accel/Kconfig b/drivers/staging/iio/accel/Kconfig index e2e786dc9c7b..ad45dfbdf417 100644 --- a/drivers/staging/iio/accel/Kconfig +++ b/drivers/staging/iio/accel/Kconfig | |||
@@ -61,7 +61,7 @@ config LIS3L02DQ | |||
61 | depends on SPI | 61 | depends on SPI |
62 | select IIO_TRIGGER if IIO_BUFFER | 62 | select IIO_TRIGGER if IIO_BUFFER |
63 | depends on !IIO_BUFFER || IIO_KFIFO_BUF | 63 | depends on !IIO_BUFFER || IIO_KFIFO_BUF |
64 | depends on GENERIC_GPIO | 64 | depends on GPIOLIB |
65 | help | 65 | help |
66 | Say yes here to build SPI support for the ST microelectronics | 66 | Say yes here to build SPI support for the ST microelectronics |
67 | accelerometer. The driver supplies direct access via sysfs files | 67 | accelerometer. The driver supplies direct access via sysfs files |
diff --git a/drivers/staging/iio/adc/Kconfig b/drivers/staging/iio/adc/Kconfig index 7b2a01d64f5e..a48eee1b6457 100644 --- a/drivers/staging/iio/adc/Kconfig +++ b/drivers/staging/iio/adc/Kconfig | |||
@@ -73,7 +73,7 @@ config AD7780 | |||
73 | config AD7816 | 73 | config AD7816 |
74 | tristate "Analog Devices AD7816/7/8 temperature sensor and ADC driver" | 74 | tristate "Analog Devices AD7816/7/8 temperature sensor and ADC driver" |
75 | depends on SPI | 75 | depends on SPI |
76 | depends on GENERIC_GPIO | 76 | depends on GPIOLIB |
77 | help | 77 | help |
78 | Say yes here to build support for Analog Devices AD7816/7/8 | 78 | Say yes here to build support for Analog Devices AD7816/7/8 |
79 | temperature sensors and ADC. | 79 | temperature sensors and ADC. |
diff --git a/drivers/staging/iio/addac/Kconfig b/drivers/staging/iio/addac/Kconfig index 698a8970b372..e6795e0bed1d 100644 --- a/drivers/staging/iio/addac/Kconfig +++ b/drivers/staging/iio/addac/Kconfig | |||
@@ -5,7 +5,7 @@ menu "Analog digital bi-direction converters" | |||
5 | 5 | ||
6 | config ADT7316 | 6 | config ADT7316 |
7 | tristate "Analog Devices ADT7316/7/8 ADT7516/7/9 temperature sensor, ADC and DAC driver" | 7 | tristate "Analog Devices ADT7316/7/8 ADT7516/7/9 temperature sensor, ADC and DAC driver" |
8 | depends on GENERIC_GPIO | 8 | depends on GPIOLIB |
9 | help | 9 | help |
10 | Say yes here to build support for Analog Devices ADT7316, ADT7317, ADT7318 | 10 | Say yes here to build support for Analog Devices ADT7316, ADT7317, ADT7318 |
11 | and ADT7516, ADT7517, ADT7519 temperature sensors, ADC and DAC. | 11 | and ADT7516, ADT7517, ADT7519 temperature sensors, ADC and DAC. |
diff --git a/drivers/staging/iio/resolver/Kconfig b/drivers/staging/iio/resolver/Kconfig index 49f69ef986fc..ce360f163216 100644 --- a/drivers/staging/iio/resolver/Kconfig +++ b/drivers/staging/iio/resolver/Kconfig | |||
@@ -13,7 +13,7 @@ config AD2S90 | |||
13 | config AD2S1200 | 13 | config AD2S1200 |
14 | tristate "Analog Devices ad2s1200/ad2s1205 driver" | 14 | tristate "Analog Devices ad2s1200/ad2s1205 driver" |
15 | depends on SPI | 15 | depends on SPI |
16 | depends on GENERIC_GPIO | 16 | depends on GPIOLIB |
17 | help | 17 | help |
18 | Say yes here to build support for Analog Devices spi resolver | 18 | Say yes here to build support for Analog Devices spi resolver |
19 | to digital converters, ad2s1200 and ad2s1205, provides direct access | 19 | to digital converters, ad2s1200 and ad2s1205, provides direct access |
@@ -22,7 +22,7 @@ config AD2S1200 | |||
22 | config AD2S1210 | 22 | config AD2S1210 |
23 | tristate "Analog Devices ad2s1210 driver" | 23 | tristate "Analog Devices ad2s1210 driver" |
24 | depends on SPI | 24 | depends on SPI |
25 | depends on GENERIC_GPIO | 25 | depends on GPIOLIB |
26 | help | 26 | help |
27 | Say yes here to build support for Analog Devices spi resolver | 27 | Say yes here to build support for Analog Devices spi resolver |
28 | to digital converters, ad2s1210, provides direct access via sysfs. | 28 | to digital converters, ad2s1210, provides direct access via sysfs. |
diff --git a/drivers/staging/iio/trigger/Kconfig b/drivers/staging/iio/trigger/Kconfig index d44d3ad26fa5..1a051da62505 100644 --- a/drivers/staging/iio/trigger/Kconfig +++ b/drivers/staging/iio/trigger/Kconfig | |||
@@ -14,7 +14,7 @@ config IIO_PERIODIC_RTC_TRIGGER | |||
14 | 14 | ||
15 | config IIO_GPIO_TRIGGER | 15 | config IIO_GPIO_TRIGGER |
16 | tristate "GPIO trigger" | 16 | tristate "GPIO trigger" |
17 | depends on GENERIC_GPIO | 17 | depends on GPIOLIB |
18 | help | 18 | help |
19 | Provides support for using GPIO pins as IIO triggers. | 19 | Provides support for using GPIO pins as IIO triggers. |
20 | 20 | ||
diff --git a/drivers/usb/otg/Kconfig b/drivers/usb/otg/Kconfig index 37962c99ff1e..83778683ab4d 100644 --- a/drivers/usb/otg/Kconfig +++ b/drivers/usb/otg/Kconfig | |||
@@ -19,7 +19,7 @@ if USB || USB_GADGET | |||
19 | # | 19 | # |
20 | config USB_GPIO_VBUS | 20 | config USB_GPIO_VBUS |
21 | tristate "GPIO based peripheral-only VBUS sensing 'transceiver'" | 21 | tristate "GPIO based peripheral-only VBUS sensing 'transceiver'" |
22 | depends on GENERIC_GPIO | 22 | depends on GPIOLIB |
23 | select USB_OTG_UTILS | 23 | select USB_OTG_UTILS |
24 | help | 24 | help |
25 | Provides simple GPIO VBUS sensing for controllers with an | 25 | Provides simple GPIO VBUS sensing for controllers with an |
diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig index 4c1546f71d56..df9c738d1ff2 100644 --- a/drivers/video/Kconfig +++ b/drivers/video/Kconfig | |||
@@ -2481,7 +2481,7 @@ config FB_SSD1307 | |||
2481 | tristate "Solomon SSD1307 framebuffer support" | 2481 | tristate "Solomon SSD1307 framebuffer support" |
2482 | depends on FB && I2C | 2482 | depends on FB && I2C |
2483 | depends on OF | 2483 | depends on OF |
2484 | depends on GENERIC_GPIO | 2484 | depends on GPIOLIB |
2485 | select FB_SYS_FOPS | 2485 | select FB_SYS_FOPS |
2486 | select FB_SYS_FILLRECT | 2486 | select FB_SYS_FILLRECT |
2487 | select FB_SYS_COPYAREA | 2487 | select FB_SYS_COPYAREA |
diff --git a/drivers/video/backlight/Kconfig b/drivers/video/backlight/Kconfig index db10d0120d2b..b83d1557d421 100644 --- a/drivers/video/backlight/Kconfig +++ b/drivers/video/backlight/Kconfig | |||
@@ -36,14 +36,14 @@ config LCD_CORGI | |||
36 | 36 | ||
37 | config LCD_L4F00242T03 | 37 | config LCD_L4F00242T03 |
38 | tristate "Epson L4F00242T03 LCD" | 38 | tristate "Epson L4F00242T03 LCD" |
39 | depends on SPI_MASTER && GENERIC_GPIO | 39 | depends on SPI_MASTER && GPIOLIB |
40 | help | 40 | help |
41 | SPI driver for Epson L4F00242T03. This provides basic support | 41 | SPI driver for Epson L4F00242T03. This provides basic support |
42 | for init and powering the LCD up/down through a sysfs interface. | 42 | for init and powering the LCD up/down through a sysfs interface. |
43 | 43 | ||
44 | config LCD_LMS283GF05 | 44 | config LCD_LMS283GF05 |
45 | tristate "Samsung LMS283GF05 LCD" | 45 | tristate "Samsung LMS283GF05 LCD" |
46 | depends on SPI_MASTER && GENERIC_GPIO | 46 | depends on SPI_MASTER && GPIOLIB |
47 | help | 47 | help |
48 | SPI driver for Samsung LMS283GF05. This provides basic support | 48 | SPI driver for Samsung LMS283GF05. This provides basic support |
49 | for powering the LCD up/down through a sysfs interface. | 49 | for powering the LCD up/down through a sysfs interface. |
diff --git a/drivers/w1/masters/Kconfig b/drivers/w1/masters/Kconfig index e8ca63a82b97..2bd1257dcc1c 100644 --- a/drivers/w1/masters/Kconfig +++ b/drivers/w1/masters/Kconfig | |||
@@ -50,7 +50,7 @@ config W1_MASTER_DS1WM | |||
50 | 50 | ||
51 | config W1_MASTER_GPIO | 51 | config W1_MASTER_GPIO |
52 | tristate "GPIO 1-wire busmaster" | 52 | tristate "GPIO 1-wire busmaster" |
53 | depends on GENERIC_GPIO | 53 | depends on GPIOLIB |
54 | help | 54 | help |
55 | Say Y here if you want to communicate with your 1-wire devices using | 55 | Say Y here if you want to communicate with your 1-wire devices using |
56 | GPIO pins. This driver uses the GPIO API to control the wire. | 56 | GPIO pins. This driver uses the GPIO API to control the wire. |
diff --git a/include/linux/gpio.h b/include/linux/gpio.h index f6c7ae3e223b..552e3f46e4a3 100644 --- a/include/linux/gpio.h +++ b/include/linux/gpio.h | |||
@@ -39,7 +39,7 @@ struct gpio { | |||
39 | const char *label; | 39 | const char *label; |
40 | }; | 40 | }; |
41 | 41 | ||
42 | #ifdef CONFIG_GENERIC_GPIO | 42 | #ifdef CONFIG_GPIOLIB |
43 | 43 | ||
44 | #ifdef CONFIG_ARCH_HAVE_CUSTOM_GPIO_H | 44 | #ifdef CONFIG_ARCH_HAVE_CUSTOM_GPIO_H |
45 | #include <asm/gpio.h> | 45 | #include <asm/gpio.h> |
@@ -74,7 +74,7 @@ static inline int irq_to_gpio(unsigned int irq) | |||
74 | 74 | ||
75 | #endif /* ! CONFIG_ARCH_HAVE_CUSTOM_GPIO_H */ | 75 | #endif /* ! CONFIG_ARCH_HAVE_CUSTOM_GPIO_H */ |
76 | 76 | ||
77 | #else /* ! CONFIG_GENERIC_GPIO */ | 77 | #else /* ! CONFIG_GPIOLIB */ |
78 | 78 | ||
79 | #include <linux/kernel.h> | 79 | #include <linux/kernel.h> |
80 | #include <linux/types.h> | 80 | #include <linux/types.h> |
@@ -226,7 +226,7 @@ gpiochip_remove_pin_ranges(struct gpio_chip *chip) | |||
226 | WARN_ON(1); | 226 | WARN_ON(1); |
227 | } | 227 | } |
228 | 228 | ||
229 | #endif /* ! CONFIG_GENERIC_GPIO */ | 229 | #endif /* ! CONFIG_GPIOLIB */ |
230 | 230 | ||
231 | struct device; | 231 | struct device; |
232 | 232 | ||