Building s3cmci fails due to a changed API and some rearrangements. This patch 
fix both and make s3cmci compile again.

Signed-off-by: Sven Rebhan <[email protected]>

diff --git a/drivers/mmc/host/s3cmci.c b/drivers/mmc/host/s3cmci.c
index 2019773..955e5ef 100644
--- a/drivers/mmc/host/s3cmci.c
+++ b/drivers/mmc/host/s3cmci.c
@@ -24,7 +24,7 @@
 
 #include <mach/regs-sdi.h>
 #include <mach/regs-gpio.h>
-
+#include <mach/hardware.h>
 #include <plat/mci.h>
 
 #include "s3cmci.h"
@@ -793,7 +793,7 @@ static void s3cmci_dma_setup(struct s3cmci_host *host,
                              host->mem->start + host->sdidata);
 
        if (!setup_ok) {
-               s3c2410_dma_config(host->dma, 4, 0);
+               s3c2410_dma_config(host->dma, 4);
                s3c2410_dma_set_buffdone_fn(host->dma,
                                            s3cmci_dma_done_callback);
                s3c2410_dma_setflags(host->dma, S3C2410_DMAF_AUTOSTART);
-- 
1.6.0.6


Reply via email to