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>
This commit is contained in:
André Draszik 2018-02-22 10:21:27 +00:00 committed by Mathias Kresin
parent 7e42cbaf2a
commit bbbd71e3ea
2 changed files with 2 additions and 4 deletions

View file

@ -1761,7 +1761,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
+ +
--- /dev/null --- /dev/null
+++ b/drivers/mmc/host/mtk-mmc/sd.c +++ b/drivers/mmc/host/mtk-mmc/sd.c
@@ -0,0 +1,3067 @@ @@ -0,0 +1,3066 @@
+/* Copyright Statement: +/* Copyright Statement:
+ * + *
+ * This software/firmware and related documentation ("MediaTek Software") are + * This software/firmware and related documentation ("MediaTek Software") are
@ -4759,7 +4759,6 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
+#endif +#endif
+ .driver = { + .driver = {
+ .name = DRV_NAME, + .name = DRV_NAME,
+ .owner = THIS_MODULE,
+ .of_match_table = mt7620_sdhci_match, + .of_match_table = mt7620_sdhci_match,
+ }, + },
+}; +};

View file

@ -1761,7 +1761,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
+ +
--- /dev/null --- /dev/null
+++ b/drivers/mmc/host/mtk-mmc/sd.c +++ b/drivers/mmc/host/mtk-mmc/sd.c
@@ -0,0 +1,3067 @@ @@ -0,0 +1,3066 @@
+/* Copyright Statement: +/* Copyright Statement:
+ * + *
+ * This software/firmware and related documentation ("MediaTek Software") are + * This software/firmware and related documentation ("MediaTek Software") are
@ -4759,7 +4759,6 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
+#endif +#endif
+ .driver = { + .driver = {
+ .name = DRV_NAME, + .name = DRV_NAME,
+ .owner = THIS_MODULE,
+ .of_match_table = mt7620_sdhci_match, + .of_match_table = mt7620_sdhci_match,
+ }, + },
+}; +};