[source] kernel: kmod-mmc: handle moved mmc_block.ko

LEDE Commits lede-commits at lists.infradead.org
Sat Dec 16 13:18:28 PST 2017


hauke pushed a commit to source.git, branch master:
https://git.lede-project.org/5c9cc1e73b3b27a924efbad27ae29cc960979c5d

commit 5c9cc1e73b3b27a924efbad27ae29cc960979c5d
Author: Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Sun Nov 12 22:16:46 2017 +0100

    kernel: kmod-mmc: handle moved mmc_block.ko
    
    mmc_block.ko was moved with kernel 4.10.
    
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 package/kernel/linux/modules/other.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk
index b3ad4a0..ef27402 100644
--- a/package/kernel/linux/modules/other.mk
+++ b/package/kernel/linux/modules/other.mk
@@ -317,7 +317,8 @@ define KernelPackage/mmc
 	CONFIG_SDIO_UART=n
   FILES:= \
 	$(LINUX_DIR)/drivers/mmc/core/mmc_core.ko \
-	$(LINUX_DIR)/drivers/mmc/card/mmc_block.ko
+	$(LINUX_DIR)/drivers/mmc/card/mmc_block.ko at lt4.10 \
+	$(LINUX_DIR)/drivers/mmc/core/mmc_block.ko at ge4.10
   AUTOLOAD:=$(call AutoProbe,mmc_core mmc_block,1)
 endef
 



More information about the lede-commits mailing list