aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2013-07-08 09:01:47 +0000
committerJohn Crispin <blogic@openwrt.org>2013-07-08 09:01:47 +0000
commit07a6e227f755763e54113c66b4d98e439f58f9b1 (patch)
tree88a2fd0da0b5d5a95a9c09fbcb7697bfbb428324 /target/linux/ramips
parent3f60f761847b4304401f444bb1eb608bccb56b0e (diff)
downloadupstream-07a6e227f755763e54113c66b4d98e439f58f9b1.tar.gz
upstream-07a6e227f755763e54113c66b4d98e439f58f9b1.tar.bz2
upstream-07a6e227f755763e54113c66b4d98e439f58f9b1.zip
ralink: add i2c-ralink kmod info
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37200 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips')
-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))