aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2013-07-08 09:01:47 +0000
committerJohn Crispin <john@openwrt.org>2013-07-08 09:01:47 +0000
commita154693babb128d5ccf956ac3271de54c82927b0 (patch)
treeadf3f601766b1355f6b04b44bf073e593a873c04
parentf60cb8c3d907fc6e11a1e266e1e5d4ae3d0b7826 (diff)
downloadupstream-a154693babb128d5ccf956ac3271de54c82927b0.tar.gz
upstream-a154693babb128d5ccf956ac3271de54c82927b0.tar.bz2
upstream-a154693babb128d5ccf956ac3271de54c82927b0.zip
ralink: add i2c-ralink kmod info
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37200
-rw-r--r--target/linux/ramips/modules.mk15
1 files changed, 15 insertions, 0 deletions
diff --git a/target/linux/ramips/modules.mk b/target/linux/ramips/modules.mk
index 0d293323f0..179aba6a77 100644
--- a/target/linux/ramips/modules.mk
+++ b/target/linux/ramips/modules.mk
@@ -24,3 +24,18 @@ define KernelPackage/usb-rt305x-dwc_otg/description
endef
$(eval $(call KernelPackage,usb-rt305x-dwc_otg))
+
+I2C_RALINK_MODULES:= \
+ CONFIG_I2C_RALINK:drivers/i2c/busses/i2c-ralink
+
+define KernelPackage/i2c-ralink
+ $(call i2c_defaults,$(I2C_RALINK_MODULES),59)
+ TITLE:=Ralink I2C Controller
+ DEPENDS:=@TARGET_ramips kmod-i2c-core
+endef
+
+define KernelPackage/i2c-ralink/description
+ Kernel modules for enable ralink i2c controller.
+endef
+
+$(eval $(call KernelPackage,i2c-ralink))