Blame SOURCES/0379-kernel-modules-increase-SDHCI-driver-inclusion.patch

712866
From 688afe0fc3e705a5a65e9e74f6a77e56fb364c3f Mon Sep 17 00:00:00 2001
712866
From: Daniel Drake <drake@endlessm.com>
712866
Date: Thu, 15 Jan 2015 11:27:47 -0600
712866
Subject: [PATCH] kernel-modules: increase SDHCI driver inclusion
712866
712866
The sdhci-pci module is currently not being included in the initramfs,
712866
even though other sdhci modules are. This breaks boot on systems that
712866
rely on this driver to access the root filesystem.
712866
712866
Instead of looking for modules that use sdhci_pltfm_init, look for
712866
sdhci_add_host. I checked 3.18 kernel sources, and this change
712866
does not remove any of the previously-matched SDHCI drivers.
712866
It should result in the addition of sdhci-pci, sdhci-s3c, sdhci-spear
712866
and sdhci-acpi.
712866
712866
(cherry picked from commit 6dcc5e1158bf502b431491a381a16ca894f99ae2)
712866
---
712866
 modules.d/90kernel-modules/module-setup.sh | 2 +-
712866
 1 file changed, 1 insertion(+), 1 deletion(-)
712866
712866
diff --git a/modules.d/90kernel-modules/module-setup.sh b/modules.d/90kernel-modules/module-setup.sh
5c6c2a
index 34d85b1c..7d9d369a 100755
712866
--- a/modules.d/90kernel-modules/module-setup.sh
712866
+++ b/modules.d/90kernel-modules/module-setup.sh
712866
@@ -5,7 +5,7 @@
712866
 installkernel() {
712866
     if [[ -z $drivers ]]; then
712866
         block_module_filter() {
712866
-            local _blockfuncs='ahci_platform_get_resources|ata_scsi_ioctl|scsi_add_host|blk_cleanup_queue|register_mtd_blktrans|scsi_esp_register|register_virtio_device|usb_stor_disconnect|mmc_add_host|sdhci_pltfm_init'
712866
+            local _blockfuncs='ahci_platform_get_resources|ata_scsi_ioctl|scsi_add_host|blk_cleanup_queue|register_mtd_blktrans|scsi_esp_register|register_virtio_device|usb_stor_disconnect|mmc_add_host|sdhci_add_host'
712866
             # subfunctions inherit following FDs
712866
             local _merge=8 _side2=9
712866
             function bmf1() {