[openwrt/openwrt] ramips: mt7620: eMMC: clear owner field

LEDE Commits lede-commits at lists.infradead.org
Wed Apr 4 00:16:26 PDT 2018


mkresin pushed a commit to openwrt/openwrt.git, branch master:
https://git.lede-project.org/bbbd71e3eae90702ac8d24f3bbaa3ae320ebe604

commit bbbd71e3eae90702ac8d24f3bbaa3ae320ebe604
Author: André Draszik <git at andred.net>
AuthorDate: Thu Feb 22 10:21:27 2018 +0000

    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 at andred.net>
---
 .../patches-4.14/0046-mmc-MIPS-ralink-add-sdhci-for-mt7620a-SoC.patch  | 3 +--
 .../patches-4.9/0046-mmc-MIPS-ralink-add-sdhci-for-mt7620a-SoC.patch   | 3 +--
 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 d3a088b..3411d30 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 at 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 at 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 004ac23..e342de0 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 at 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 at openwrt.org>
 +#endif
 +    .driver  = {
 +        .name  = DRV_NAME,
-+        .owner = THIS_MODULE,
 +	.of_match_table = mt7620_sdhci_match,
 +    },
 +};



More information about the lede-commits mailing list