diff options
author | Florian Fainelli <florian@openwrt.org> | 2012-07-25 15:50:13 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2012-07-25 15:50:13 +0000 |
commit | 16ffb690a4488df02a767579b18b0a79e808fb7b (patch) | |
tree | e286584926763134ef86bdebcdeb2121f94071ec /target | |
parent | 9b33874a28bff6b51c9443555fbb23a85eed3596 (diff) | |
download | upstream-16ffb690a4488df02a767579b18b0a79e808fb7b.tar.gz upstream-16ffb690a4488df02a767579b18b0a79e808fb7b.tar.bz2 upstream-16ffb690a4488df02a767579b18b0a79e808fb7b.zip |
[octeon] move i2c driver to target modules.mk
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32855 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/octeon/modules.mk | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/target/linux/octeon/modules.mk b/target/linux/octeon/modules.mk index a4552580b4..999535c8a3 100644 --- a/target/linux/octeon/modules.mk +++ b/target/linux/octeon/modules.mk @@ -37,3 +37,19 @@ define KernelPackage/usb-octeon/description endef $(eval $(call KernelPackage,usb-octeon)) + +I2C_OCTEON_MODULES:=\ + CONFIG_I2C_OCTEON:drivers/i2c/busses/i2c-octeon + +define KernelPackage/octeon-i2c + $(call i2c_defaults,$(I2C_OCTEON_MODULES),59) + TITLE:=I2C master driver for Cavium Octeon + DEPENDS:=@TARGET_octeon +kmod-i2c-core +endef + +define KernelPackage/octeon-i2c/description + Kernel module to use the I2C master driver on Cavium Octeon +endef + +$(eval $(call KernelPackage,octeon-i2c)) + |