Skip to contentSkip to conversation

ARM: SAMSUNG: MMC: fix build error when both DMA and PIO mode selected

PATCH New [email protected] 1 participant 1 message Sep 9, 2010 MMC, SD and SDIO

lore
Share & tools
lore
#0 lore raw

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]
Cc Matt Fleming <[email protected]>
Cc Russell King <[email protected]>
Cc Ben Dooks <[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
diff -puN drivers/mmc/host/s3cmci.c~arm-samsung-mmc-fix-build-error-when-both-dma-and-pio-mode-selected drivers/mmc/host/s3cmci.c
@@ -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);

_