Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 517cb9f1 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Chris Ball
Browse files

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: default avatarArnd Bergmann <arnd@arndb.de>
Cc: Thomas Abraham <thomas.abraham@linaro.org>
Cc: Will Newton <will.newton@imgtec.com>
Signed-off-by: default avatarChris Ball <cjb@laptop.org>
parent 14efd957
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -223,7 +223,7 @@ static const struct of_device_id dw_mci_exynos_match[] = {
			.data = (void *)&exynos5250_drv_data, },
			.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)
int dw_mci_exynos_probe(struct platform_device *pdev)
{
{