summaryrefslogtreecommitdiff
path: root/target/linux/generic-2.6/patches-2.6.25/420-gpiodev.patch
diff options
context:
space:
mode:
authorPeter Denison <openwrt@marshadder.org>2008-05-16 19:25:20 +0000
committerPeter Denison <openwrt@marshadder.org>2008-05-16 19:25:20 +0000
commit79aed699d71b9f583762a4b184bb7a68521dccb9 (patch)
tree74aaab10bc8d14ea76857a0ea17fc31419d255e9 /target/linux/generic-2.6/patches-2.6.25/420-gpiodev.patch
parent9788ab458ceb294131f6145eba79dfd01e380ffc (diff)
downloadmtk-20170518-79aed699d71b9f583762a4b184bb7a68521dccb9.zip
mtk-20170518-79aed699d71b9f583762a4b184bb7a68521dccb9.tar.gz
mtk-20170518-79aed699d71b9f583762a4b184bb7a68521dccb9.tar.bz2
Remove files now present upstream in files-2.6.25 (This is mostly just drivers/ssb and include/linux/ssb) [brcm47xx] Regenerate patches against 2.6.25.1 kernel+files set Default is still to build against 2.6.23.16
SVN-Revision: 11155
Diffstat (limited to 'target/linux/generic-2.6/patches-2.6.25/420-gpiodev.patch')
-rw-r--r--target/linux/generic-2.6/patches-2.6.25/420-gpiodev.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/target/linux/generic-2.6/patches-2.6.25/420-gpiodev.patch b/target/linux/generic-2.6/patches-2.6.25/420-gpiodev.patch
new file mode 100644
index 0000000..4c252f5
--- /dev/null
+++ b/target/linux/generic-2.6/patches-2.6.25/420-gpiodev.patch
@@ -0,0 +1,27 @@
+Index: linux-2.6.25/drivers/gpio/Kconfig
+===================================================================
+--- linux-2.6.25.orig/drivers/gpio/Kconfig 2008-04-27 23:35:57.000000000 +0100
++++ linux-2.6.25/drivers/gpio/Kconfig 2008-04-27 23:42:52.000000000 +0100
+@@ -2,6 +2,13 @@
+ # GPIO infrastructure and expanders
+ #
+
++config GPIO_DEVICE
++ tristate "GPIO device support"
++ depends on GENERIC_GPIO
++ help
++ Say Y to enable Linux GPIO device support. This allows control of
++ GPIO pins using a character device
++
+ config HAVE_GPIO_LIB
+ bool
+ help
+Index: linux-2.6.25/drivers/gpio/Makefile
+===================================================================
+--- linux-2.6.25.orig/drivers/gpio/Makefile 2008-04-27 23:42:59.000000000 +0100
++++ linux-2.6.25/drivers/gpio/Makefile 2008-04-27 23:43:41.000000000 +0100
+@@ -7,3 +7,4 @@ obj-$(CONFIG_HAVE_GPIO_LIB) += gpiolib.o
+ obj-$(CONFIG_GPIO_MCP23S08) += mcp23s08.o
+ obj-$(CONFIG_GPIO_PCA953X) += pca953x.o
+ obj-$(CONFIG_GPIO_PCF857X) += pcf857x.o
++obj-$(CONFIG_GPIO_DEVICE) += gpio_dev.o