ramips: mt7620: eMMC: clear owner field
authorAndré Draszik <git@andred.net>
Thu, 22 Feb 2018 10:21:27 +0000 (10:21 +0000)
committerMathias Kresin <dev@kresin.me>
Wed, 4 Apr 2018 06:29:16 +0000 (08:29 +0200)
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>
target/linux/ramips/patches-4.14/0046-mmc-MIPS-ralink-add-sdhci-for-mt7620a-SoC.patch
target/linux/ramips/patches-4.9/0046-mmc-MIPS-ralink-add-sdhci-for-mt7620a-SoC.patch

index d3a088b736299af5857be32168427afd272e7b1c..3411d30ab8242c52269a8ffe45df78113957e841 100644 (file)
@@ -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,
 +    },
 +};
index 004ac239db1674dbbf9e5435863248db5f344020..e342de023208280542564fe8587b402899eb785f 100644 (file)
@@ -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,
 +    },
 +};