d648d08c8df4d2786ff8af70a1ab1e84f4c7f4d3
[openwrt/svn-archive/archive.git] / target / linux / ar7 / patches-2.6.32 / 120-gpio_chrdev.patch
1 --- a/drivers/char/Kconfig
2 +++ b/drivers/char/Kconfig
3 @@ -987,6 +987,15 @@ config MWAVE
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 @@ -92,6 +92,7 @@ obj-$(CONFIG_HW_RANDOM) += hw_random/
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