From: Zoltan Herpai Date: Fri, 12 Dec 2014 13:18:29 +0000 (+0000) Subject: mxs: change mxs-lradc module to depend on kmod-iio-core instead of hardcoding X-Git-Tag: reboot~4982 X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=commitdiff_plain;h=a1467fb73b75ba6469c7c15f63a415c9aebde9e7 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 --- 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