mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
[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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user