From: André Draszik Date: Thu, 22 Feb 2018 10:21:27 +0000 (+0000) Subject: ramips: mt7620: eMMC: clear owner field X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=bbbd71e3eae90702ac8d24f3bbaa3ae320ebe604;p=openwrt%2Fstaging%2Fwigyori.git 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 --- 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, + }, +};