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

Harald Geyer harald at ccbib.org
Tue Nov 11 13:46:27 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(-)

I found this while working on some other bug that causes files to be missing
from kmod-iio-core. I haven't tracked down the initial problem yet, but
I think this fix is proper on its own.

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
     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
-- 
1.7.2.5
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list