[source] ramips: add back the i2c-mt7621 module
LEDE Commits
lede-commits at lists.infradead.org
Sun Jan 15 11:46:10 PST 2017
blogic pushed a commit to source.git, branch master:
https://git.lede-project.org/c067011af899bf637215849948a962241a3ed62a
commit c067011af899bf637215849948a962241a3ed62a
Author: John Crispin <john at phrozen.org>
AuthorDate: Sun Jan 15 20:45:14 2017 +0100
ramips: add back the i2c-mt7621 module
mt7628/88 are still using this module.
Signed-off-by: John Crispin <john at phrozen.org>
---
target/linux/ramips/modules.mk | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/target/linux/ramips/modules.mk b/target/linux/ramips/modules.mk
index c2b6f50..2bece6f 100644
--- a/target/linux/ramips/modules.mk
+++ b/target/linux/ramips/modules.mk
@@ -58,6 +58,22 @@ endef
$(eval $(call KernelPackage,i2c-ralink))
+I2C_MT7621_MODULES:= \
+ CONFIG_I2C_MT7621:drivers/i2c/busses/i2c-mt7621
+
+define KernelPackage/i2c-mt7628
+ $(call i2c_defaults,$(I2C_MT7621_MODULES),59)
+ TITLE:=MT7628/88 I2C Controller
+ DEPENDS:=kmod-i2c-core \
+ @(TARGET_ramips_mt7628||TARGET_ramips_mt7688)
+endef
+
+define KernelPackage/i2c-mt7628/description
+ Kernel modules for enable mt7621 i2c controller.
+endef
+
+$(eval $(call KernelPackage,i2c-mt7628))
+
define KernelPackage/dma-ralink
SUBMENU:=Other modules
TITLE:=Ralink GDMA Engine
More information about the lede-commits
mailing list