aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2008-08-05 09:52:23 +0000
committerGabor Juhos <juhosg@openwrt.org>2008-08-05 09:52:23 +0000
commite930bd912de9744506046a27e2351ea624bc0832 (patch)
tree2b60beba9e465fa67c83392bd07e0ad8dacb8324 /package/kernel
parent5de588bcb8289e22d5f88a5fdad92076cd2e2cb2 (diff)
downloadmaster-187ad058-e930bd912de9744506046a27e2351ea624bc0832.tar.gz
master-187ad058-e930bd912de9744506046a27e2351ea624bc0832.tar.bz2
master-187ad058-e930bd912de9744506046a27e2351ea624bc0832.zip
[kernel] modules/gpio_dev: move to drivers/char/ on older kernels as well, and create a package for it
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12133 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/modules/other.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk
index 925f87b9e7..3b8a3b3146 100644
--- a/package/kernel/modules/other.mk
+++ b/package/kernel/modules/other.mk
@@ -432,6 +432,22 @@ endef
$(eval $(call KernelPackage,ledtrig-morse))
+define KernelPackage/gpio-dev
+ SUBMENU:=$(OTHER_MENU)
+ TITLE:=Generic GPIO char device support
+ DEPENDS:=@GPIO_SUPPORT
+ KCONFIG:=CONFIG_GPIO_DEVICE
+ FILES:=$(LINUX_DIR)/drivers/char/gpio_dev.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call AutoLoad,40,gpio_dev)
+endef
+
+define KernelPackage/gpio-dev/description
+ Kernel module to allows control of GPIO pins using a character device.
+endef
+
+$(eval $(call KernelPackage,gpio-dev))
+
+
define KernelPackage/nsc-gpio
SUBMENU:=$(OTHER_MENU)
TITLE:=Natsemi GPIO support