From 8ab36773784815bf97e2177a02a849d0fb66b745 Mon Sep 17 00:00:00 2001 From: Marek Szyprowski Date: Fri, 9 Mar 2012 14:44:27 +0100 Subject: [PATCH] mmc: sdhci-s3c: fix broken compilation for non-Exynos SoCs exynos4_sdhci_drv_data structure is not available on non-Exynos builds, that's why EXYNOS4_SDHCI_DRV_DATA macro has been introduced. This patch fixes commit 67819656 'mmc: sdhci-s3c: Add device tree support' to use that macro. This fixes broken build for pre-Exynos SoCs. Signed-off-by: Marek Szyprowski Acked-by: Jaehoon Chung Signed-off-by: Chris Ball --- drivers/mmc/host/sdhci-s3c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/sdhci-s3c.c b/drivers/mmc/host/sdhci-s3c.c index 5f282965c0af..0e2b9e2333a0 100644 --- a/drivers/mmc/host/sdhci-s3c.c +++ b/drivers/mmc/host/sdhci-s3c.c @@ -864,7 +864,7 @@ MODULE_DEVICE_TABLE(platform, sdhci_s3c_driver_ids); static const struct of_device_id sdhci_s3c_dt_match[] = { { .compatible = "samsung,s3c6410-sdhci", }, { .compatible = "samsung,exynos4210-sdhci", - .data = &exynos4_sdhci_drv_data }, + .data = EXYNOS4_SDHCI_DRV_DATA }, {}, }; MODULE_DEVICE_TABLE(of, sdhci_s3c_dt_match); -- 2.39.5