]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mmc: dw_mmc: fix modular build for exynos back-end
authorArnd Bergmann <arnd@arndb.de>
Tue, 6 Nov 2012 21:55:30 +0000 (22:55 +0100)
committerChris Ball <cjb@laptop.org>
Tue, 6 Nov 2012 22:13:35 +0000 (17:13 -0500)
commit05d79af43bc9f66f4765389540187e98daf29267
tree7cc4063873e3452334c67867cce3efa7fed33876
parentd844cc4fbbca75f307b61281b67c52572a24f5cf
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>
drivers/mmc/host/dw_mmc-exynos.c