From bbbd71e3eae90702ac8d24f3bbaa3ae320ebe604 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20Draszik?= Date: Thu, 22 Feb 2018 10:21:27 +0000 Subject: [PATCH] ramips: mt7620: eMMC: clear owner field MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit a) This is not needed in recent kernels anymore (> 3.x ??) b) this allows driver unloading now Signed-off-by: André Draszik --- .../0046-mmc-MIPS-ralink-add-sdhci-for-mt7620a-SoC.patch | 3 +-- .../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 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 + --- /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 +#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 + --- /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 +#endif + .driver = { + .name = DRV_NAME, -+ .owner = THIS_MODULE, + .of_match_table = mt7620_sdhci_match, + }, +}; -- 2.30.2