create firmware image for the Ubiquiti LS-SR71 board
[openwrt/openwrt.git] / target / linux / ar7 / patches-2.6.24 / 120-gpio_chrdev.patch
1 Index: linux-2.6.24.7/drivers/char/Kconfig
2 ===================================================================
3 --- linux-2.6.24.7.orig/drivers/char/Kconfig
4 +++ linux-2.6.24.7/drivers/char/Kconfig
5 @@ -904,6 +904,15 @@ config MWAVE
6 To compile this driver as a module, choose M here: the
7 module will be called mwave.
8
9 +config AR7_GPIO
10 + tristate "TI AR7 GPIO Support"
11 + depends on AR7
12 + help
13 + Give userspace access to the GPIO pins on the Texas Instruments AR7
14 + processors.
15 +
16 + If compiled as a module, it will be called ar7_gpio.
17 +
18 config SCx200_GPIO
19 tristate "NatSemi SCx200 GPIO Support"
20 depends on SCx200
21 Index: linux-2.6.24.7/drivers/char/Makefile
22 ===================================================================
23 --- linux-2.6.24.7.orig/drivers/char/Makefile
24 +++ linux-2.6.24.7/drivers/char/Makefile
25 @@ -89,6 +89,7 @@ obj-$(CONFIG_COBALT_LCD) += lcd.o
26 obj-$(CONFIG_PPDEV) += ppdev.o
27 obj-$(CONFIG_NWBUTTON) += nwbutton.o
28 obj-$(CONFIG_NWFLASH) += nwflash.o
29 +obj-$(CONFIG_AR7_GPIO) += ar7_gpio.o
30 obj-$(CONFIG_SCx200_GPIO) += scx200_gpio.o
31 obj-$(CONFIG_PC8736x_GPIO) += pc8736x_gpio.o
32 obj-$(CONFIG_NSC_GPIO) += nsc_gpio.o