diff options
author | Florian Fainelli <florian@openwrt.org> | 2011-02-11 17:37:51 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2011-02-11 17:37:51 +0000 |
commit | df0a3aea55d833f69e21c45c3451328b33d61a80 (patch) | |
tree | 39689f4ed61271c7af239f5e507c429f463841cd /package/kernel/modules/i2c.mk | |
parent | 22ce31f02e478fb7447840cb56a0d8b866263b4a (diff) | |
download | mtk-20170518-df0a3aea55d833f69e21c45c3451328b33d61a80.zip mtk-20170518-df0a3aea55d833f69e21c45c3451328b33d61a80.tar.gz mtk-20170518-df0a3aea55d833f69e21c45c3451328b33d61a80.tar.bz2 |
use i2c_defaults for kmod-i2c-at91
SVN-Revision: 25468
Diffstat (limited to 'package/kernel/modules/i2c.mk')
-rw-r--r-- | package/kernel/modules/i2c.mk | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/package/kernel/modules/i2c.mk b/package/kernel/modules/i2c.mk index 8ca3819..e4d714e 100644 --- a/package/kernel/modules/i2c.mk +++ b/package/kernel/modules/i2c.mk @@ -184,13 +184,14 @@ endef $(eval $(call KernelPackage,i2c-mv64xxx)) + +I2C_AT91_MODULES:=\ + CONFIG_I2C_AT91:drivers/i2c/busses/i2c-at91 + define KernelPackage/at91-i2c - SUBMENU:=$(I2C_MENU) + $(call i2c_defaults,$(I2C_AT91_MODULES),55) TITLE:=I2C (TWI) master driver for Atmel AT91 - DEPENDS:=@TARGET_at91 kmod-i2c-core - KCONFIG:=CONFIG_I2C_AT91 - FILES:=$(LINUX_DIR)/drivers/i2c/busses/i2c-at91.ko - AUTOLOAD:=$(call AutoLoad,55,i2c-at91) + DEPENDS:=@TARGET_at91 +kmod-i2c-core endef define KernelPackage/at91-i2c/description |