aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm2708/patches-4.4/0120-MMC-Do-not-use-mmc_debug-if-CONFIG_MMC_BCM2835-is-no.patch
diff options
context:
space:
mode:
authorÁlvaro Fernández Rojas <noltari@gmail.com>2017-02-07 22:30:59 +0100
committerÁlvaro Fernández Rojas <noltari@gmail.com>2017-02-07 23:00:21 +0100
commitd9d090e52082635a24aeaefdc6bfe61ab97f38bb (patch)
tree6e725a11b5c44ee1a7ce95a0b2bcba4cae1e6f5c /target/linux/brcm2708/patches-4.4/0120-MMC-Do-not-use-mmc_debug-if-CONFIG_MMC_BCM2835-is-no.patch
parentada91d8a245690b3bc8d2a62b391d2725aea5c8e (diff)
downloadupstream-d9d090e52082635a24aeaefdc6bfe61ab97f38bb.tar.gz
upstream-d9d090e52082635a24aeaefdc6bfe61ab97f38bb.tar.bz2
upstream-d9d090e52082635a24aeaefdc6bfe61ab97f38bb.zip
brcm2708: remove linux 4.4 support
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Diffstat (limited to 'target/linux/brcm2708/patches-4.4/0120-MMC-Do-not-use-mmc_debug-if-CONFIG_MMC_BCM2835-is-no.patch')
-rw-r--r--target/linux/brcm2708/patches-4.4/0120-MMC-Do-not-use-mmc_debug-if-CONFIG_MMC_BCM2835-is-no.patch36
1 files changed, 0 insertions, 36 deletions
diff --git a/target/linux/brcm2708/patches-4.4/0120-MMC-Do-not-use-mmc_debug-if-CONFIG_MMC_BCM2835-is-no.patch b/target/linux/brcm2708/patches-4.4/0120-MMC-Do-not-use-mmc_debug-if-CONFIG_MMC_BCM2835-is-no.patch
deleted file mode 100644
index 37f2a5614b..0000000000
--- a/target/linux/brcm2708/patches-4.4/0120-MMC-Do-not-use-mmc_debug-if-CONFIG_MMC_BCM2835-is-no.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From 8f8381d1d47cc2a82dee3d308bd71c654affa085 Mon Sep 17 00:00:00 2001
-From: janluca <janluca@zedat.fu-berlin.de>
-Date: Sun, 27 Dec 2015 14:34:04 +0100
-Subject: [PATCH] MMC: Do not use mmc_debug if CONFIG_MMC_BCM2835 is not set
-
-If CONFIG_MMC_BCM2835 was not set the compiling of the kernel failed
-since mmc_debug was not defined but used in drivers/mmc/core/quirks.c.
-
-This patch add a ifdef-check for CONFIG_MMC_BCM2835 to the change of
-commit 64d395457f793250d2e582eeb38cc3403b1db98c
----
- drivers/mmc/core/quirks.c | 4 ++++
- 1 file changed, 4 insertions(+)
-
---- a/drivers/mmc/core/quirks.c
-+++ b/drivers/mmc/core/quirks.c
-@@ -53,7 +53,9 @@ static const struct mmc_fixup mmc_fixup_
-
- void mmc_fixup_device(struct mmc_card *card, const struct mmc_fixup *table)
- {
-+#ifdef CONFIG_MMC_BCM2835
- extern unsigned mmc_debug;
-+#endif
- const struct mmc_fixup *f;
- u64 rev = cid_rev_card(card);
-
-@@ -81,7 +83,9 @@ void mmc_fixup_device(struct mmc_card *c
- /* SDHCI on BCM2708 - bug causes a certain sequence of CMD23 operations to fail.
- * Disable this flag for all cards (fall-back to CMD25/CMD18 multi-block transfers).
- */
-+#ifdef CONFIG_MMC_BCM2835
- if (mmc_debug & (1<<13))
- card->quirks |= MMC_QUIRK_BLK_NO_CMD23;
-+#endif
- }
- EXPORT_SYMBOL(mmc_fixup_device);