From: André Draszik Date: Thu, 22 Feb 2018 10:21:40 +0000 (+0000) Subject: ramips: mt7620: eMMC: fix MODULE_DEVICE_TABLE X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=dcbf6284e58e76111e8fa1c93ffd93c378e3482d;p=openwrt%2Fstaging%2Fblocktrron.git ramips: mt7620: eMMC: fix MODULE_DEVICE_TABLE This was referencing an undefined symbol, probably due to copy/paste error. 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 8ae3391278..aad6d598e0 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 @@ -4748,7 +4748,7 @@ Signed-off-by: John Crispin + { .compatible = "ralink,mt7620-sdhci" }, + {}, +}; -+MODULE_DEVICE_TABLE(of, rt288x_wdt_match); ++MODULE_DEVICE_TABLE(of, mt7620_sdhci_match); + +static struct platform_driver mt_msdc_driver = { + .probe = msdc_drv_probe, 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 5b98f0a6f6..7dd25b1d40 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 @@ -4748,7 +4748,7 @@ Signed-off-by: John Crispin + { .compatible = "ralink,mt7620-sdhci" }, + {}, +}; -+MODULE_DEVICE_TABLE(of, rt288x_wdt_match); ++MODULE_DEVICE_TABLE(of, mt7620_sdhci_match); + +static struct platform_driver mt_msdc_driver = { + .probe = msdc_drv_probe,