Skip to contentSkip to conversation

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

PATCH New Pinkava J. 2 participants 2 messages May 25, 2010 – Aug 27, 2010 MMC, SD and SDIO

lore
Share & tools
lore

Pinkava J.

author
#0 lore raw

PATCH 1/1 ARM: SAMSUNG: MMC: Fix build error when both DMA and PIO mode selected

---
 drivers/mmc/host/s3cmci.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/mmc/host/s3cmci.c +0 -0
index 2fdf768..4426a4b 100644
@@ -1600,7 +1600,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);

Signature · 1 line
1.7.1
#1 lore raw

PATCH RESEND 1/1 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]
---
 drivers/mmc/host/s3cmci.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/mmc/host/s3cmci.c +1 -1
index 2fdf768..4426a4b 100644
@@ -1600,7 +1600,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);
Signature · 5 lines
1.7.1

-- 
Chris Ball   <[email protected]>   <http://printf.net/>
One Laptop Per Child