ARM: SAMSUNG: MMC: fix build error when both DMA and PIO mode selected
PATCH 14/41 ARM: SAMSUNG: MMC: fix build error when both DMA and PIO mode selected
From: Jiri Pinkava <[email protected]>
Date: Tue, 25 May 2010 09:48:58 +0200
[cjb: fix line-wrapped patch]
Signed-off-by Jiri Pinkava <[email protected]>
Signed-off-by Chris Ball <[email protected]>
Cc Matt Fleming <[email protected]>
Cc Russell King <[email protected]>
Cc Ben Dooks <[email protected]>
Cc <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
drivers/mmc/host/s3cmci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mmc/host/s3cmci.c renamed from drivers/mmc/host/s3cmci.c~arm-samsung-mmc-fix-build-error-when-both-dma-and-pio-mode-selected +1 -1
@@ -1600,7 +1600,7 @@ static int __devinit s3cmci_probe(struct 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 );
_