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

Harald Geyer harald at ccbib.org
Wed Dec 10 08:00:36 EST 2014

Drop industrialio-triggered-buffer.ko from the package and
depend on kmod-iio-core.

Signed-off-by: Harald Geyer <harald at 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 --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
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list