From 677508fba07647c0b29f41434785383ebd6ea7f3 Mon Sep 17 00:00:00 2001 From: juhosg Date: Tue, 5 Aug 2008 09:52:23 +0000 Subject: [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 --- package/kernel/modules/other.mk | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'package/kernel') diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk index 925f87b9e..3b8a3b314 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 -- cgit v1.2.3