aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandre Courbot <acourbot@nvidia.com>2013-03-28 07:34:56 -0400
committerAlexandre Courbot <acourbot@nvidia.com>2013-04-16 05:47:14 -0400
commit76ec9d18b8972f1b228f819f6126c9f022b3e642 (patch)
treec860b7360ffc3a99b2eb6db8cf132bffd4191804
parenta2523d3cdab76fbda28414fd82743815f3cc3df7 (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>
-rw-r--r--arch/unicore32/Kconfig2
-rw-r--r--drivers/extcon/Kconfig2
-rw-r--r--drivers/i2c/busses/Kconfig4
-rw-r--r--drivers/i2c/muxes/Kconfig2
-rw-r--r--drivers/input/keyboard/Kconfig6
-rw-r--r--drivers/input/misc/Kconfig8
-rw-r--r--drivers/input/mouse/Kconfig2
-rw-r--r--drivers/leds/Kconfig6
-rw-r--r--drivers/mtd/maps/Kconfig2
-rw-r--r--drivers/mtd/nand/Kconfig2
-rw-r--r--drivers/net/phy/Kconfig2
-rw-r--r--drivers/pinctrl/sh-pfc/Kconfig26
-rw-r--r--drivers/regulator/Kconfig2
-rw-r--r--drivers/spi/Kconfig8
-rw-r--r--drivers/staging/android/Kconfig2
-rw-r--r--drivers/staging/iio/accel/Kconfig2
-rw-r--r--drivers/staging/iio/adc/Kconfig2
-rw-r--r--drivers/staging/iio/addac/Kconfig2
-rw-r--r--drivers/staging/iio/resolver/Kconfig4
-rw-r--r--drivers/staging/iio/trigger/Kconfig2
-rw-r--r--drivers/usb/otg/Kconfig2
-rw-r--r--drivers/video/Kconfig2
-rw-r--r--drivers/video/backlight/Kconfig4
-rw-r--r--drivers/w1/masters/Kconfig2
-rw-r--r--include/linux/gpio.h6
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
157config LEDS 157config LEDS
158 def_bool y 158 def_bool y
159 depends on GENERIC_GPIO 159 depends on GPIOLIB
160 160
161config ALIGNMENT_TRAP 161config 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
17config EXTCON_GPIO 17config 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
364config I2C_CBUS_GPIO 364config 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
437config I2C_GPIO 437config 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
8config I2C_MUX_GPIO 8config 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
176config KEYBOARD_GPIO 176config 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
191config KEYBOARD_GPIO_POLLED 191config 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
242config KEYBOARD_MATRIX 242config 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
214config INPUT_GP2A 214config 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
225config INPUT_GPIO_TILT_POLLED 225config 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
473config INPUT_GPIO_ROTARY_ENCODER 473config 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
484config INPUT_RB532_BUTTON 484config 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
296config MOUSE_GPIO 296config 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
173config LEDS_GPIO 173config 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
352config LEDS_LT3593 352config 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
422config LEDS_RENESAS_TPU 422config 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
420config MTD_GPIO_ADDR 420config 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
90config MTD_NAND_GPIO 90config 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
127config MDIO_GPIO 127config 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
7config PINCTRL_SH_PFC 7config 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
34config PINCTRL_PFC_SH7203 34config 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
40config PINCTRL_PFC_SH7264 40config 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
46config PINCTRL_PFC_SH7269 46config 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
52config PINCTRL_PFC_SH7372 52config PINCTRL_PFC_SH7372
@@ -62,55 +62,55 @@ config PINCTRL_PFC_SH73A0
62config PINCTRL_PFC_SH7720 62config 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
68config PINCTRL_PFC_SH7722 68config 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
74config PINCTRL_PFC_SH7723 74config 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
80config PINCTRL_PFC_SH7724 80config 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
86config PINCTRL_PFC_SH7734 86config 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
92config PINCTRL_PFC_SH7757 92config 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
98config PINCTRL_PFC_SH7785 98config 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
104config PINCTRL_PFC_SH7786 104config 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
110config PINCTRL_PFC_SHX3 110config 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
116endif 116endif
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
67config REGULATOR_GPIO 67config 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
62config SPI_ATH79 62config 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
164config SPI_GPIO 164config 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
241config SPI_OC_TINY 241config 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
431config SPI_TXX9 431config 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
55config ANDROID_TIMED_GPIO 55config 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
60config ANDROID_LOW_MEMORY_KILLER 60config 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
73config AD7816 73config 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
6config ADT7316 6config 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
13config AD2S1200 13config 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
22config AD2S1210 22config 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
15config IIO_GPIO_TRIGGER 15config 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#
20config USB_GPIO_VBUS 20config 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
37config LCD_L4F00242T03 37config 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
44config LCD_LMS283GF05 44config 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
51config W1_MASTER_GPIO 51config 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
231struct device; 231struct device;
232 232