diff options
author | Jo-Philipp Wich <jo@mein.io> | 2019-01-25 09:23:33 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2019-01-25 09:23:33 +0100 |
commit | f01044e85cad836ad7a31aa5bf5ad1f748f55f4a (patch) | |
tree | beaceb7bc616ce05a74451578d4bc2ffe7aa592e /target/linux | |
parent | e906a75e67d823a4fec19accafcdd73c2f84f696 (diff) | |
download | upstream-f01044e85cad836ad7a31aa5bf5ad1f748f55f4a.tar.gz upstream-f01044e85cad836ad7a31aa5bf5ad1f748f55f4a.tar.bz2 upstream-f01044e85cad836ad7a31aa5bf5ad1f748f55f4a.zip |
kernel: fix sdhci-msm build error
A missing upstream stable backport leads to the following build error:
CC drivers/mmc/host/sdhci-msm.o
drivers/mmc/host/sdhci-msm.c:1158:3: error: 'const struct sdhci_ops' has no member named 'write_w'
.write_w = sdhci_msm_write_w,
^~~~~~~
drivers/mmc/host/sdhci-msm.c:1158:13: warning: excess elements in struct initializer
.write_w = sdhci_msm_write_w,
^~~~~~~~~~~~~~~~~
drivers/mmc/host/sdhci-msm.c:1158:13: note: (near initialization for 'sdhci_msm_ops')
scripts/Makefile.build:326: recipe for target 'drivers/mmc/host/sdhci-msm.o' failed
Solve the issue by backporting commit
99d570da30 ("mmc: Kconfig: Enable CONFIG_MMC_SDHCI_IO_ACCESSORS")
from linux-stable.
Ref: https://github.com/openwrt/openwrt/commit/528508ae8b33c76deaf18f313973144a7e920678#commitcomment-32049231
Fixes: 528508ae8b ("kernel: bump 4.14 to 4.14.95")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/generic/backport-4.14/420-enable-CONFIG_MMC_SDHCI_IO_ACCESSORS.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/target/linux/generic/backport-4.14/420-enable-CONFIG_MMC_SDHCI_IO_ACCESSORS.patch b/target/linux/generic/backport-4.14/420-enable-CONFIG_MMC_SDHCI_IO_ACCESSORS.patch new file mode 100644 index 0000000000..994ecd7ed4 --- /dev/null +++ b/target/linux/generic/backport-4.14/420-enable-CONFIG_MMC_SDHCI_IO_ACCESSORS.patch @@ -0,0 +1,23 @@ +From: Vijay Viswanath <vviswana@codeaurora.org> +Date: Wed, 27 Sep 2017 11:04:42 +0530 +Subject: [PATCH v2 3/4] mmc: Kconfig: Enable CONFIG_MMC_SDHCI_IO_ACCESSORS + +Enable CONFIG_MMC_SDHCI_IO_ACCESSORS so that SDHC controller specific +register read and write APIs, if registered, can be used. + +Signed-off-by: Vijay Viswanath <vviswana@codeaurora.org> +Acked-by: Adrian Hunter <adrian.hunter@intel.com> +--- + drivers/mmc/host/Kconfig | 1 + + 1 file changed, 1 insertion(+) + +--- a/drivers/mmc/host/Kconfig ++++ b/drivers/mmc/host/Kconfig +@@ -420,6 +420,7 @@ config MMC_SDHCI_MSM + tristate "Qualcomm SDHCI Controller Support" + depends on ARCH_QCOM || (ARM && COMPILE_TEST) + depends on MMC_SDHCI_PLTFM ++ select MMC_SDHCI_IO_ACCESSORS + help + This selects the Secure Digital Host Controller Interface (SDHCI) + support present in Qualcomm SOCs. The controller supports |