diff mbox

[OpenWrt-Devel,RESEND] kmod-iio-mxs-lradc: Don't include file also in kmod-iio-core

Message ID E1Xygse-00013d-Fg@stardust.g4.wien.funkfeuer.at
State Superseded
Headers show

Commit Message

Harald Geyer Dec. 10, 2014, 1 p.m. UTC
Drop industrialio-triggered-buffer.ko from the package and
depend on kmod-iio-core.

Signed-off-by: Harald Geyer <harald@ccbib.org>
 target/linux/mxs/modules.mk |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

This patch was already submitted a month ago (no answer yet). I'm resending
because of the patchwork transition.

This patch fixes a bug: kmod-iio-mxs-lradc and other kmod-iio-*
packages can't be installed at the same time.
diff mbox


diff --git a/target/linux/mxs/modules.mk b/target/linux/mxs/modules.mk
index 3f9c8f8..4d95bf3 100644
--- a/target/linux/mxs/modules.mk
+++ b/target/linux/mxs/modules.mk
@@ -73,11 +73,10 @@  $(eval $(call KernelPackage,sound-soc-mxs))
 define KernelPackage/iio-mxs-lradc
     TITLE:=LRADC driver for i.MX23/28
+    DEPENDS:=@TARGET_mxs +kmod-iio-core
-    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)
 define KernelPackage/iio-mxs-lradc/description