[PATCH] ARM: S3C: Fix a compilation error in MCI

Michel Pollet buserror at gmail.com
Tue Feb 2 07:40:20 EST 2010


Refers to a non-existing (renamed?) field in the s3c24xx_mci_pdata
structure.

Signed-off-by: Michel Pollet <buserror at gmail.com>
---
 drivers/mmc/host/s3cmci.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mmc/host/s3cmci.c b/drivers/mmc/host/s3cmci.c
index d96e1ab..cd67efb 100644
--- a/drivers/mmc/host/s3cmci.c
+++ b/drivers/mmc/host/s3cmci.c
@@ -1598,7 +1598,7 @@ static int __devinit s3cmci_probe(struct platform_device *pdev)
 	host->pio_active 	= XFER_NONE;
 
 #ifdef CONFIG_MMC_S3C_PIODMA
-	host->dodma		= host->pdata->dma;
+	host->dodma		= host->pdata->use_dma;
 #endif
 
 	host->mem = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-- 
1.6.6




More information about the linux-arm-kernel mailing list