diff options
author | Arnd Bergmann <arnd@arndb.de> | 2012-11-06 22:55:30 +0100 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2012-11-07 15:02:55 -0500 |
commit | 517cb9f1bb0afd38bebe9b0af1b524b8a65afdb4 (patch) | |
tree | 879fe8d0c89eca852ca91359f625d3b443f2193f /drivers/mmc/host/dw_mmc-exynos.c | |
parent | 14efd957209461bbdf285bf0d67e931955d04a4c (diff) | |
download | linux-517cb9f1bb0afd38bebe9b0af1b524b8a65afdb4.tar.gz linux-517cb9f1bb0afd38bebe9b0af1b524b8a65afdb4.tar.bz2 linux-517cb9f1bb0afd38bebe9b0af1b524b8a65afdb4.zip |
mmc: dw_mmc: fix modular build for exynos back-end
The MODULE_DEVICE_TABLE entry for dw_mci_exynos_match
was incorrectly copied from the platform back-end, which
causes this error when building the driver as a loadable
module:
drivers/mmc/host/dw_mmc-exynos.c: At top level:
drivers/mmc/host/dw_mmc-exynos.c:226:34: error: '__mod_of_device_table' aliased to undefined symbol 'dw_mci_pltfm_match'
This patch fixes the problem by just using the correct
string.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Thomas Abraham <thomas.abraham@linaro.org>
Cc: Will Newton <will.newton@imgtec.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/host/dw_mmc-exynos.c')
-rw-r--r-- | drivers/mmc/host/dw_mmc-exynos.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/dw_mmc-exynos.c b/drivers/mmc/host/dw_mmc-exynos.c index 660bbc528862..0147ac3aad59 100644 --- a/drivers/mmc/host/dw_mmc-exynos.c +++ b/drivers/mmc/host/dw_mmc-exynos.c @@ -223,7 +223,7 @@ static const struct of_device_id dw_mci_exynos_match[] = { .data = (void *)&exynos5250_drv_data, }, {}, }; -MODULE_DEVICE_TABLE(of, dw_mci_pltfm_match); +MODULE_DEVICE_TABLE(of, dw_mci_exynos_match); int dw_mci_exynos_probe(struct platform_device *pdev) { |