[PATCH 8/9] Fix s3cmci compile
Sven Rebhan
odinshorse at googlemail.com
Sun Mar 1 14:38:39 CET 2009
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 <odinshorse at googlemail.com>
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
More information about the openmoko-kernel
mailing list