[kernel] revert 15922 - add back 2.6.29 kernel support
[openwrt.git] / target / linux / generic-2.6 / patches-2.6.29 / 420-gpiodev.patch
1 --- a/drivers/char/Kconfig
2 +++ b/drivers/char/Kconfig
3 @@ -1016,6 +1016,13 @@ config CS5535_GPIO
4  
5           If compiled as a module, it will be called cs5535_gpio.
6  
7 +config GPIO_DEVICE
8 +       tristate "GPIO device support"
9 +       depends on GENERIC_GPIO
10 +       help
11 +         Say Y to enable Linux GPIO device support.  This allows control of
12 +         GPIO pins using a character device
13 +
14  config GPIO_VR41XX
15         tristate "NEC VR4100 series General-purpose I/O Unit support"
16         depends on CPU_VR41XX
17 --- a/drivers/char/Makefile
18 +++ b/drivers/char/Makefile
19 @@ -94,6 +94,7 @@ obj-$(CONFIG_SCx200_GPIO)     += scx200_gpio
20  obj-$(CONFIG_PC8736x_GPIO)     += pc8736x_gpio.o
21  obj-$(CONFIG_NSC_GPIO)         += nsc_gpio.o
22  obj-$(CONFIG_CS5535_GPIO)      += cs5535_gpio.o
23 +obj-$(CONFIG_GPIO_DEVICE)      += gpio_dev.o
24  obj-$(CONFIG_GPIO_VR41XX)      += vr41xx_giu.o
25  obj-$(CONFIG_GPIO_TB0219)      += tb0219.o
26  obj-$(CONFIG_TELCLOCK)         += tlclk.o