From: Arnd Bergmann Date: Tue, 23 Apr 2013 19:05:57 +0000 (-0400) Subject: mmc: sdhci-tegra: fix MODULE_DEVICE_TABLE X-Git-Tag: firefly_0821_release~3680^2~578^2 X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=e4404fab2e0b70287a471a1e760c9338ce683fde;p=firefly-linux-kernel-4.4.55.git mmc: sdhci-tegra: fix MODULE_DEVICE_TABLE The symbol referenced in MODULE_DEVICE_TABLE must match the actual table, otherwise we get a build error like: sdhci-tegra.c:206:34: error: '__mod_of_device_table' aliased to undefined symbol 'sdhci_dt_ids' Signed-off-by: Arnd Bergmann Cc: Stephen Warren Signed-off-by: Chris Ball --- diff --git a/drivers/mmc/host/sdhci-tegra.c b/drivers/mmc/host/sdhci-tegra.c index 45048d1a4a2f..e0dba74cff98 100644 --- a/drivers/mmc/host/sdhci-tegra.c +++ b/drivers/mmc/host/sdhci-tegra.c @@ -203,7 +203,7 @@ static const struct of_device_id sdhci_tegra_dt_match[] = { { .compatible = "nvidia,tegra20-sdhci", .data = &soc_data_tegra20 }, {} }; -MODULE_DEVICE_TABLE(of, sdhci_dt_ids); +MODULE_DEVICE_TABLE(of, sdhci_tegra_dt_match); static void sdhci_tegra_parse_dt(struct device *dev) {