]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/mmc/host/s3cmci.c
ARM: SAMSUNG: MMC: fix build error when both DMA and PIO mode selected
[net-next-2.6.git] / drivers / mmc / host / s3cmci.c
index 2e16e0a90a5e1a5d8d3d7487727baa39d701b8fb..976330de379ecc78cbe91f19c4bd9495d4722dae 100644 (file)
@@ -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);