linux-mmc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] drivers: mmc: sdhci-s3c: fix broken compilation for non-Exynos SoCs
@ 2012-03-09 13:44 Marek Szyprowski
  2012-03-09 15:56 ` Kukjin Kim
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Marek Szyprowski @ 2012-03-09 13:44 UTC (permalink / raw)
  To: linux-samsung-soc, linux-mmc
  Cc: Marek Szyprowski, Kyungmin Park, Kukjin Kim, Thomas Abraham

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 <m.szyprowski@samsung.com>
---
 drivers/mmc/host/sdhci-s3c.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mmc/host/sdhci-s3c.c b/drivers/mmc/host/sdhci-s3c.c
index ea0767e..984601e 100644
--- a/drivers/mmc/host/sdhci-s3c.c
+++ b/drivers/mmc/host/sdhci-s3c.c
@@ -859,7 +859,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);
-- 
1.7.1.569.g6f426


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-03-16  3:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-09 13:44 [PATCH] drivers: mmc: sdhci-s3c: fix broken compilation for non-Exynos SoCs Marek Szyprowski
2012-03-09 15:56 ` Kukjin Kim
2012-03-09 16:07   ` Marek Szyprowski
2012-03-12  0:12 ` Jaehoon Chung
2012-03-16  3:29 ` Chris Ball

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).