diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2013-09-25 18:00:33 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2013-09-25 18:00:33 +0000 |
commit | dc45d360daca6e61c614d6818a337bcd194c33d4 (patch) | |
tree | 2d35a65b93b8c25e69f1c18b55de668f3e905d0f /package/kernel | |
parent | 043888a5f3a9d3ebd4ca5a2ae9e086ff7a0faebc (diff) | |
download | master-187ad058-dc45d360daca6e61c614d6818a337bcd194c33d4.tar.gz master-187ad058-dc45d360daca6e61c614d6818a337bcd194c33d4.tar.bz2 master-187ad058-dc45d360daca6e61c614d6818a337bcd194c33d4.zip |
package/kernel: move I2C-GPIO drivers from i2c.mk to other.mk
Move pca953x support from i2c.mk to other.mk, where other
GPIO drivers are located. Remove duplicate pcf857x support
from i2c.mk.
Signed-off-by: Hartmut Knaack <knaack.h@gmx.de>
[juhosg: update subject, and reformat commit message]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38185 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel')
-rw-r--r-- | package/kernel/linux/modules/i2c.mk | 31 | ||||
-rw-r--r-- | package/kernel/linux/modules/other.mk | 16 |
2 files changed, 16 insertions, 31 deletions
diff --git a/package/kernel/linux/modules/i2c.mk b/package/kernel/linux/modules/i2c.mk index f1eea31807..8a26f42e75 100644 --- a/package/kernel/linux/modules/i2c.mk +++ b/package/kernel/linux/modules/i2c.mk @@ -237,34 +237,3 @@ define KernelPackage/i2c-mux-pca9541/description endef $(eval $(call KernelPackage,i2c-mux-pca9541)) - -GPIO_PCA953X_MODULES:= \ - CONFIG_GPIO_PCA953X:drivers/gpio/gpio-pca953x - -define KernelPackage/pca953x - $(call i2c_defaults,$(GPIO_PCA953X_MODULES),51) - TITLE:=Philips PCA953x I2C GPIO extenders - DEPENDS:=kmod-i2c-core -endef - -define KernelPackage/pca953x/description - Kernel modules for PCA953x I2C GPIO extenders -endef - -$(eval $(call KernelPackage,pca953x)) - - -GPIO_PCF857X_MODULES:= \ - CONFIG_GPIO_PCF857X:drivers/gpio/gpio-pcf857x - -define KernelPackage/pcf857x - $(call i2c_defaults,$(GPIO_PCF857X_MODULES),51) - TITLE:=Philips PCF857x I2C GPIO extenders - DEPENDS:=kmod-i2c-core -endef - -define KernelPackage/pcf857x/description - Kernel modules for PCF857x I2C GPIO extenders -endef - -$(eval $(call KernelPackage,pcf857x)) diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk index 15c9120762..b2d59560f3 100644 --- a/package/kernel/linux/modules/other.mk +++ b/package/kernel/linux/modules/other.mk @@ -162,6 +162,22 @@ endef $(eval $(call KernelPackage,gpio-nxp-74hc164)) +define KernelPackage/gpio-pca953x + SUBMENU:=$(OTHER_MENU) + DEPENDS:=@GPIO_SUPPORT +kmod-i2c-core + TITLE:=PCA95xx, TCA64xx, and MAX7310 I/O ports + KCONFIG:=CONFIG_GPIO_PCA953X + FILES:=$(LINUX_DIR)/drivers/gpio/gpio-pca953x.ko + AUTOLOAD:=$(call AutoLoad,55,gpio-pca953x) +endef + +define KernelPackage/gpio-pca953x/description + Kernel module for MAX731{0,2,3,5}, PCA6107, PCA953{4-9}, PCA955{4-7}, + PCA957{4,5} and TCA64{08,16} I2C GPIO expanders +endef + +$(eval $(call KernelPackage,gpio-pca953x)) + define KernelPackage/gpio-pcf857x SUBMENU:=$(OTHER_MENU) DEPENDS:=@GPIO_SUPPORT +kmod-i2c-core |