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>

SVN-Revision: 38185
This commit is contained in:
Gabor Juhos
2013-09-25 18:00:33 +00:00
parent cbcd3024dc
commit 6ac0dfb280
2 changed files with 16 additions and 31 deletions

View File

@@ -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))