kernel: add support for linux 3.2.1
[openwrt/svn-archive/archive.git] / target / linux / generic / patches-3.2 / 835-gpiodev.patch
1 --- a/drivers/char/Kconfig
2 +++ b/drivers/char/Kconfig
3 @@ -511,6 +511,14 @@ config NSC_GPIO
4 pc8736x_gpio drivers. If those drivers are built as
5 modules, this one will be too, named nsc_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 @@ -47,6 +47,7 @@ obj-$(CONFIG_NWFLASH) += nwflash.o
21 obj-$(CONFIG_SCx200_GPIO) += scx200_gpio.o
22 obj-$(CONFIG_PC8736x_GPIO) += pc8736x_gpio.o
23 obj-$(CONFIG_NSC_GPIO) += nsc_gpio.o
24 +obj-$(CONFIG_GPIO_DEVICE) += gpio_dev.o
25 obj-$(CONFIG_GPIO_TB0219) += tb0219.o
26 obj-$(CONFIG_TELCLOCK) += tlclk.o
27