aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndré Draszik <git@andred.net>2018-02-22 10:21:27 +0000
committerMathias Kresin <dev@kresin.me>2018-04-04 08:29:16 +0200
commitbbbd71e3eae90702ac8d24f3bbaa3ae320ebe604 (patch)
tree79f5b4ee21fc539b8c923dab0ea1d11b93d0eaf0
parent7e42cbaf2a1e40cfdd1abde876a1bb66db784420 (diff)
downloadupstream-bbbd71e3eae90702ac8d24f3bbaa3ae320ebe604.tar.gz
upstream-bbbd71e3eae90702ac8d24f3bbaa3ae320ebe604.tar.bz2
upstream-bbbd71e3eae90702ac8d24f3bbaa3ae320ebe604.zip
ramips: mt7620: eMMC: clear owner field
a) This is not needed in recent kernels anymore (> 3.x ??) b) this allows driver unloading now Signed-off-by: André Draszik <git@andred.net>
-rw-r--r--target/linux/ramips/patches-4.14/0046-mmc-MIPS-ralink-add-sdhci-for-mt7620a-SoC.patch3
-rw-r--r--target/linux/ramips/patches-4.9/0046-mmc-MIPS-ralink-add-sdhci-for-mt7620a-SoC.patch3
2 files changed, 2 insertions, 4 deletions
diff --git a/target/linux/ramips/patches-4.14/0046-mmc-MIPS-ralink-add-sdhci-for-mt7620a-SoC.patch b/target/linux/ramips/patches-4.14/0046-mmc-MIPS-ralink-add-sdhci-for-mt7620a-SoC.patch
index d3a088b736..3411d30ab8 100644
--- a/target/linux/ramips/patches-4.14/0046-mmc-MIPS-ralink-add-sdhci-for-mt7620a-SoC.patch
+++ b/target/linux/ramips/patches-4.14/0046-mmc-MIPS-ralink-add-sdhci-for-mt7620a-SoC.patch
@@ -1761,7 +1761,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
+
--- /dev/null
+++ b/drivers/mmc/host/mtk-mmc/sd.c
-@@ -0,0 +1,3067 @@
+@@ -0,0 +1,3066 @@
+/* Copyright Statement:
+ *
+ * This software/firmware and related documentation ("MediaTek Software") are
@@ -4759,7 +4759,6 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
+#endif
+ .driver = {
+ .name = DRV_NAME,
-+ .owner = THIS_MODULE,
+ .of_match_table = mt7620_sdhci_match,
+ },
+};
diff --git a/target/linux/ramips/patches-4.9/0046-mmc-MIPS-ralink-add-sdhci-for-mt7620a-SoC.patch b/target/linux/ramips/patches-4.9/0046-mmc-MIPS-ralink-add-sdhci-for-mt7620a-SoC.patch
index 004ac239db..e342de0232 100644
--- a/target/linux/ramips/patches-4.9/0046-mmc-MIPS-ralink-add-sdhci-for-mt7620a-SoC.patch
+++ b/target/linux/ramips/patches-4.9/0046-mmc-MIPS-ralink-add-sdhci-for-mt7620a-SoC.patch
@@ -1761,7 +1761,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
+
--- /dev/null
+++ b/drivers/mmc/host/mtk-mmc/sd.c
-@@ -0,0 +1,3067 @@
+@@ -0,0 +1,3066 @@
+/* Copyright Statement:
+ *
+ * This software/firmware and related documentation ("MediaTek Software") are
@@ -4759,7 +4759,6 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
+#endif
+ .driver = {
+ .name = DRV_NAME,
-+ .owner = THIS_MODULE,
+ .of_match_table = mt7620_sdhci_match,
+ },
+};