From: John Crispin Date: Wed, 3 Apr 2013 10:00:36 +0000 (+0000) Subject: add pcf857x kernel module X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=62b5098b35f0dac0e95487ba6a6283aae4f276c0;p=openwrt%2Fstaging%2Fnbd.git add pcf857x kernel module Signed-off-by: John Crispin SVN-Revision: 36180 --- 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