From 1e5056402d2eb0a240f6bad540b73621929df84c Mon Sep 17 00:00:00 2001 From: blogic Date: Wed, 3 Apr 2013 10:00:36 +0000 Subject: [PATCH] [kernel] add pcf857x kernel module Signed-off-by: John Crispin git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36180 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/kernel/modules/other.mk | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk index f9937bee47..d1c21572d5 100644 --- a/package/kernel/modules/other.mk +++ b/package/kernel/modules/other.mk @@ -146,6 +146,21 @@ endef $(eval $(call KernelPackage,gpio-nxp-74hc164)) +define KernelPackage/gpio-pcf857x + SUBMENU:=$(OTHER_MENU) + DEPENDS:=@GPIO_SUPPORT +kmod-i2c-core + TITLE:=PCX857x, PCA967x and MAX732X I2C GPIO expanders + KCONFIG:=CONFIG_GPIO_PCF857X + FILES:=$(LINUX_DIR)/drivers/gpio/gpio-pcf857x.ko + AUTOLOAD:=$(call AutoLoad,55,gpio-pcf857x) +endef + +define KernelPackage/gpio-pcf857x/description + Kernel module for PCF857x, PCA{85,96}7x, and MAX732[89] I2C GPIO expanders +endef + +$(eval $(call KernelPackage,gpio-pcf857x)) + define KernelPackage/lp SUBMENU:=$(OTHER_MENU) TITLE:=Parallel port and line printer support -- 2.11.0