From a1467fb73b75ba6469c7c15f63a415c9aebde9e7 Mon Sep 17 00:00:00 2001 From: Zoltan Herpai Date: Fri, 12 Dec 2014 13:18:29 +0000 Subject: [PATCH] mxs: change mxs-lradc module to depend on kmod-iio-core instead of hardcoding Signed-off-by: Harald Geyer Signed-off-by: Zoltan HERPAI SVN-Revision: 43656 --- target/linux/mxs/modules.mk | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/target/linux/mxs/modules.mk b/target/linux/mxs/modules.mk index 75d668a1d0..d6dbb04347 100644 --- a/target/linux/mxs/modules.mk +++ b/target/linux/mxs/modules.mk @@ -57,11 +57,10 @@ $(eval $(call KernelPackage,sound-soc-mxs)) define KernelPackage/iio-mxs-lradc SUBMENU:=$(OTHER_MENU) TITLE:=LRADC driver for i.MX23/28 - DEPENDS:=@TARGET_mxs + DEPENDS:=@TARGET_mxs +kmod-iio-core KCONFIG:=CONFIG_MXS_LRADC - FILES:=$(LINUX_DIR)/drivers/staging/iio/adc/mxs-lradc.ko \ - $(LINUX_DIR)/drivers/iio/industrialio-triggered-buffer.ko - AUTOLOAD:=$(call AutoLoad,70,industrialio-triggered-buffer mxs-lradc) + FILES:=$(LINUX_DIR)/drivers/staging/iio/adc/mxs-lradc.ko + AUTOLOAD:=$(call AutoLoad,70,mxs-lradc) endef define KernelPackage/iio-mxs-lradc/description -- 2.25.1