diff options
author | Arnd Bergmann <arnd@arndb.de> | 2013-04-23 15:05:57 -0400 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2013-04-23 15:05:57 -0400 |
commit | e4404fab2e0b70287a471a1e760c9338ce683fde (patch) | |
tree | 310aa47c67f238b5f18b1ec7c11f799875f81ca7 /drivers/mmc | |
parent | a08b17be8b984a7c51cd5a480cd977363df353f9 (diff) |
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 <arnd@arndb.de>
Cc: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/host/sdhci-tegra.c | 2 |
1 files changed, 1 insertions, 1 deletions
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[] = { | |||
203 | { .compatible = "nvidia,tegra20-sdhci", .data = &soc_data_tegra20 }, | 203 | { .compatible = "nvidia,tegra20-sdhci", .data = &soc_data_tegra20 }, |
204 | {} | 204 | {} |
205 | }; | 205 | }; |
206 | MODULE_DEVICE_TABLE(of, sdhci_dt_ids); | 206 | MODULE_DEVICE_TABLE(of, sdhci_tegra_dt_match); |
207 | 207 | ||
208 | static void sdhci_tegra_parse_dt(struct device *dev) | 208 | static void sdhci_tegra_parse_dt(struct device *dev) |
209 | { | 209 | { |