kernel: backport ppoll to 2.6.31 to fix udev build
[openwrt/svn-archive/archive.git] / target / linux / generic / patches-2.6.31 / 420-gpiodev.patch
1 --- a/drivers/char/Kconfig
2 +++ b/drivers/char/Kconfig
3 @@ -1029,6 +1029,14 @@ 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 +
15 config RAW_DRIVER
16 tristate "RAW driver (/dev/raw/rawN)"
17 depends on BLOCK
18 --- a/drivers/char/Makefile
19 +++ b/drivers/char/Makefile
20 @@ -95,6 +95,7 @@ obj-$(CONFIG_SCx200_GPIO) += scx200_gpio
21 obj-$(CONFIG_PC8736x_GPIO) += pc8736x_gpio.o
22 obj-$(CONFIG_NSC_GPIO) += nsc_gpio.o
23 obj-$(CONFIG_CS5535_GPIO) += cs5535_gpio.o
24 +obj-$(CONFIG_GPIO_DEVICE) += gpio_dev.o
25 obj-$(CONFIG_GPIO_TB0219) += tb0219.o
26 obj-$(CONFIG_TELCLOCK) += tlclk.o
27