From 1bf0057f4db2a031b18fbcd520ffa10078638798 Mon Sep 17 00:00:00 2001 From: florian Date: Wed, 25 Jul 2012 15:50:13 +0000 Subject: [octeon] move i2c driver to target modules.mk git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32855 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/octeon/modules.mk | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'target') diff --git a/target/linux/octeon/modules.mk b/target/linux/octeon/modules.mk index a4552580b..999535c8a 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)) + -- cgit v1.2.3