[generic-2.6] Remove files now present upstream in files-2.6.25
[openwrt-10.03/.git] / target / linux / generic-2.6 / patches-2.6.25 / 420-gpiodev.patch
1 Index: linux-2.6.25/drivers/gpio/Kconfig
2 ===================================================================
3 --- linux-2.6.25.orig/drivers/gpio/Kconfig      2008-04-27 23:35:57.000000000 +0100
4 +++ linux-2.6.25/drivers/gpio/Kconfig   2008-04-27 23:42:52.000000000 +0100
5 @@ -2,6 +2,13 @@
6  # GPIO infrastructure and expanders
7  #
8  
9 +config GPIO_DEVICE
10 +       tristate "GPIO device support"
11 +       depends on GENERIC_GPIO
12 +       help
13 +         Say Y to enable Linux GPIO device support.  This allows control of
14 +         GPIO pins using a character device
15 +
16  config HAVE_GPIO_LIB
17         bool
18         help
19 Index: linux-2.6.25/drivers/gpio/Makefile
20 ===================================================================
21 --- linux-2.6.25.orig/drivers/gpio/Makefile     2008-04-27 23:42:59.000000000 +0100
22 +++ linux-2.6.25/drivers/gpio/Makefile  2008-04-27 23:43:41.000000000 +0100
23 @@ -7,3 +7,4 @@ obj-$(CONFIG_HAVE_GPIO_LIB)     += gpiolib.o
24  obj-$(CONFIG_GPIO_MCP23S08)    += mcp23s08.o
25  obj-$(CONFIG_GPIO_PCA953X)     += pca953x.o
26  obj-$(CONFIG_GPIO_PCF857X)     += pcf857x.o
27 +obj-$(CONFIG_GPIO_DEVICE)      += gpio_dev.o