[kernel] update to 2.6.26.5 and 2.6.25.17
[openwrt/svn-archive/archive.git] / target / linux / ar7 / patches-2.6.26 / 120-gpio_chrdev.patch
1 --- a/drivers/char/Kconfig
2 +++ b/drivers/char/Kconfig
3 @@ -960,6 +960,15 @@
4 To compile this driver as a module, choose M here: the
5 module will be called mwave.
6
7 +config AR7_GPIO
8 + tristate "TI AR7 GPIO Support"
9 + depends on AR7
10 + help
11 + Give userspace access to the GPIO pins on the Texas Instruments AR7
12 + processors.
13 +
14 + If compiled as a module, it will be called ar7_gpio.
15 +
16 config SCx200_GPIO
17 tristate "NatSemi SCx200 GPIO Support"
18 depends on SCx200
19 --- a/drivers/char/Makefile
20 +++ b/drivers/char/Makefile
21 @@ -91,6 +91,7 @@
22 obj-$(CONFIG_PPDEV) += ppdev.o
23 obj-$(CONFIG_NWBUTTON) += nwbutton.o
24 obj-$(CONFIG_NWFLASH) += nwflash.o
25 +obj-$(CONFIG_AR7_GPIO) += ar7_gpio.o
26 obj-$(CONFIG_SCx200_GPIO) += scx200_gpio.o
27 obj-$(CONFIG_PC8736x_GPIO) += pc8736x_gpio.o
28 obj-$(CONFIG_NSC_GPIO) += nsc_gpio.o