From: Jo-Philipp Wich Date: Tue, 6 Dec 2016 16:09:34 +0000 (+0100) Subject: linux: do not autoload sdhci.ko as sdhci-pltfm.ko already depends on it X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3494ca66c5aa800f28577cb3849d48a710de8cd0;p=openwrt%2Fstaging%2Fmans0n.git linux: do not autoload sdhci.ko as sdhci-pltfm.ko already depends on it Currently, installing kmod-sdhci fails with "sdhci is already loaded" since "sdhci.ko" is inserted explicitely first, the implicitely loaded again when "sdhci-pltfm.ko" is inserted as the latter depends on the former. Remove the explicit autoprobe of "sdhci.ko" to fix the postinstall script. Acked-by: John Crispin Signed-off-by: Jo-Philipp Wich --- diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk index c22f57261c..0c9696956d 100644 --- a/package/kernel/linux/modules/other.mk +++ b/package/kernel/linux/modules/other.mk @@ -384,7 +384,7 @@ define KernelPackage/sdhci $(LINUX_DIR)/drivers/mmc/host/sdhci.ko \ $(LINUX_DIR)/drivers/mmc/host/sdhci-pltfm.ko - AUTOLOAD:=$(call AutoProbe,sdhci sdhci-pltfm,1) + AUTOLOAD:=$(call AutoProbe,sdhci-pltfm,1) endef define KernelPackage/sdhci/description