mxs: change mxs-lradc module to depend on kmod-iio-core instead of hardcoding
authorZoltan Herpai <wigyori@uid0.hu>
Fri, 12 Dec 2014 13:18:29 +0000 (13:18 +0000)
committerZoltan Herpai <wigyori@uid0.hu>
Fri, 12 Dec 2014 13:18:29 +0000 (13:18 +0000)
Signed-off-by: Harald Geyer <harald@ccbib.org>
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 43656

target/linux/mxs/modules.mk

index 75d668a1d098ce736b420c76665c911a286e8359..d6dbb0434769bfd69217022bdbd224f07afbc9d9 100644 (file)
@@ -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