mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-22 20:23:57 +08:00
ARM: SAMSUNG: MMC: fix build error when both DMA and PIO mode selected
[cjb: fix line-wrapped patch] Signed-off-by: Jiri Pinkava <jiri.pinkava@vscht.cz> Signed-off-by: Chris Ball <cjb@laptop.org> Cc: Matt Fleming <matt@console-pimps.org> Cc: Russell King <rmk@arm.linux.org.uk> Cc: Ben Dooks <ben-linux@fluff.org> Cc: <linux-mmc@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
5600efb1bc
commit
60c2c0d565
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user