diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2008-08-05 09:52:23 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2008-08-05 09:52:23 +0000 |
commit | 3527e7a64951f7af020dc5b5d4e588e5f33d136e (patch) | |
tree | 0e353626dea485fc8996c6e0763d2a70547e9592 /package/kernel/modules/other.mk | |
parent | cf8eecaad5c5987f1c44c51209589f4cceb8df48 (diff) | |
download | mtk-20170518-3527e7a64951f7af020dc5b5d4e588e5f33d136e.zip mtk-20170518-3527e7a64951f7af020dc5b5d4e588e5f33d136e.tar.gz mtk-20170518-3527e7a64951f7af020dc5b5d4e588e5f33d136e.tar.bz2 |
modules/gpio_dev: move to drivers/char/ on older kernels as well, and create a package for it
SVN-Revision: 12133
Diffstat (limited to 'package/kernel/modules/other.mk')
-rw-r--r-- | package/kernel/modules/other.mk | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk index 925f87b..3b8a3b3 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 |