aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mediatek/modules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/mediatek/modules.mk')
-rw-r--r--target/linux/mediatek/modules.mk19
1 files changed, 8 insertions, 11 deletions
diff --git a/target/linux/mediatek/modules.mk b/target/linux/mediatek/modules.mk
index 42f2d7d832..f46a6ad2ff 100644
--- a/target/linux/mediatek/modules.mk
+++ b/target/linux/mediatek/modules.mk
@@ -27,16 +27,13 @@ endef
$(eval $(call KernelPackage,btmtkuart))
-define KernelPackage/sdhci-mtk
- SUBMENU:=Other modules
- TITLE:=Mediatek SDHCI driver
- DEPENDS:=@TARGET_mediatek_mt7622 +kmod-sdhci
- KCONFIG:=CONFIG_MMC_MTK
+define KernelPackage/iio-mt6577-auxadc
+ TITLE:=Mediatek AUXADC driver
+ DEPENDS:=@(TARGET_mediatek_mt7622||TARGET_mediatek_mt7623||TARGET_mediatek_filogic)
+ KCONFIG:=CONFIG_MEDIATEK_MT6577_AUXADC
FILES:= \
- $(LINUX_DIR)/drivers/mmc/host/mtk-sd.ko
- AUTOLOAD:=$(call AutoProbe,mtk-sd,1)
+ $(LINUX_DIR)/drivers/iio/adc/mt6577_auxadc.ko
+ AUTOLOAD:=$(call AutoProbe,mt6577_auxadc)
+ $(call AddDepends/iio)
endef
-
-$(eval $(call KernelPackage,sdhci-mtk))
-
-
+$(eval $(call KernelPackage,iio-mt6577-auxadc))