[kernel] Add buildfix for kernel 2.6.21
[openwrt.git] / target / linux / ar7 / patches-2.6.27 / 120-gpio_chrdev.patch
1 --- a/drivers/char/Kconfig
2 +++ b/drivers/char/Kconfig
3 @@ -960,6 +960,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 @@ -91,6 +91,7 @@ obj-$(CONFIG_COBALT_LCD) += lcd.o
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
This page took 0.049969 seconds and 5 git commands to generate.