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:
parent
7e42cbaf2a
commit
bbbd71e3ea
2 changed files with 2 additions and 4 deletions
|
@ -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,
|
||||||
+ },
|
+ },
|
||||||
+};
|
+};
|
||||||
|
|
|
@ -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,
|
||||||
+ },
|
+ },
|
||||||
+};
|
+};
|
||||||
|
|
Loading…
Reference in a new issue