aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/modules.mk
diff options
context:
space:
mode:
authorSven Schwermer <sven.schwermer@arcor.de>2016-11-02 11:44:23 +0100
committerJohn Crispin <john@phrozen.org>2016-11-03 08:27:20 +0100
commit5511c1c7c1b1e446098c807f6022b21df369cb34 (patch)
tree88854e7d3d1f75672a8671899994d7cb1dde30c2 /target/linux/ramips/modules.mk
parent08279810ed87b97a3fa15e1a90b883b4f1fc4cb6 (diff)
downloadupstream-5511c1c7c1b1e446098c807f6022b21df369cb34.tar.gz
upstream-5511c1c7c1b1e446098c807f6022b21df369cb34.tar.bz2
upstream-5511c1c7c1b1e446098c807f6022b21df369cb34.zip
ramips: Use MT7621 I2C driver for MT7628/MT7688
The i2c-ramips driver does not work for the MT7628/MT7688 SoCs, the i2c-mt7621 driver does. Signed-off-by: Sven Schwermer <sven.schwermer@arcor.de>
Diffstat (limited to 'target/linux/ramips/modules.mk')
-rw-r--r--target/linux/ramips/modules.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/ramips/modules.mk b/target/linux/ramips/modules.mk
index 70678a8376..99c5a9d0fc 100644
--- a/target/linux/ramips/modules.mk
+++ b/target/linux/ramips/modules.mk
@@ -47,7 +47,8 @@ I2C_RALINK_MODULES:= \
define KernelPackage/i2c-ralink
$(call i2c_defaults,$(I2C_RALINK_MODULES),59)
TITLE:=Ralink I2C Controller
- DEPENDS:=@TARGET_ramips @(!TARGET_ramips_mt7621) kmod-i2c-core
+ DEPENDS:=kmod-i2c-core @TARGET_ramips \
+ @!(TARGET_ramips_mt7621||TARGET_ramips_mt7628||TARGET_ramips_mt7688)
endef
define KernelPackage/i2c-ralink/description
@@ -63,7 +64,8 @@ I2C_MT7621_MODULES:= \
define KernelPackage/i2c-mt7621
$(call i2c_defaults,$(I2C_MT7621_MODULES),59)
TITLE:=MT7621 I2C Controller
- DEPENDS:=@TARGET_ramips @TARGET_ramips_mt7621 kmod-i2c-core
+ DEPENDS:=kmod-i2c-core \
+ @(TARGET_ramips_mt7621||TARGET_ramips_mt7628||TARGET_ramips_mt7688)
endef
define KernelPackage/i2c-mt7621/description