a4f2236f70f6408ba9d86a049afc70c41181d80b
[openwrt.git] / target / linux / generic-2.6 / patches-2.6.21 / 420-gpiodev.patch
1 --- a/drivers/char/Kconfig
2 +++ b/drivers/char/Kconfig
3 @@ -984,6 +984,13 @@
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 @@ -90,6 +90,7 @@
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_TANBAC_TB0219) += tb0219.o
26 obj-$(CONFIG_TELCLOCK) += tlclk.o
This page took 0.047383 seconds and 3 git commands to generate.