From: Marek Szyprowski Date: Fri, 9 Mar 2012 13:44:27 +0000 (+0100) Subject: mmc: sdhci-s3c: fix broken compilation for non-Exynos SoCs X-Git-Tag: next-20120402~27^2~10 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=8ab36773784815bf97e2177a02a849d0fb66b745;p=karo-tx-linux.git 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 --- 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);