[au1000] Convert au1000 to using gpiolib, fixes an oops on startup
[openwrt.git] / target / linux / generic-2.6 / patches-2.6.23 / 420-gpiodev.patch
1 --- a/drivers/char/Kconfig
2 +++ b/drivers/char/Kconfig
3 @@ -970,6 +970,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 @@ -93,6 +93,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_GPIO_TB0219) += tb0219.o
26 obj-$(CONFIG_TELCLOCK) += tlclk.o
This page took 0.04624 seconds and 5 git commands to generate.