ar7: 2.6.25.1 support
[openwrt.git] / target / linux / ar7 / patches-2.6.25 / 120-gpio_chrdev.patch
1 Index: linux-2.6.25.1/drivers/char/Kconfig
2 ===================================================================
3 --- linux-2.6.25.1.orig/drivers/char/Kconfig    2008-05-01 23:45:25.000000000 +0200
4 +++ linux-2.6.25.1/drivers/char/Kconfig 2008-05-03 16:18:26.000000000 +0200
5 @@ -913,6 +913,15 @@
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.25.1/drivers/char/Makefile
22 ===================================================================
23 --- linux-2.6.25.1.orig/drivers/char/Makefile   2008-05-01 23:45:25.000000000 +0200
24 +++ linux-2.6.25.1/drivers/char/Makefile        2008-05-03 16:18:26.000000000 +0200
25 @@ -90,6 +90,7 @@
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