summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorBob Cousins <bobc@rockbox.org>2009-11-01 13:29:09 +0000
committerBob Cousins <bobc@rockbox.org>2009-11-01 13:29:09 +0000
commitadd481bf6d80514953b683f74d3091828e634126 (patch)
treee7f4db0b77a4c287a7c34e025703b785881a8215 /firmware
parentdd33bdfe0de4c620c2b2ce704af6c3d0084b95bf (diff)
Fix debug/multidrive build error
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23460 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/arm/s3c2440/sd-s3c2440.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/firmware/target/arm/s3c2440/sd-s3c2440.c b/firmware/target/arm/s3c2440/sd-s3c2440.c
index 4fcdfefd27..3117efda1f 100644
--- a/firmware/target/arm/s3c2440/sd-s3c2440.c
+++ b/firmware/target/arm/s3c2440/sd-s3c2440.c
@@ -823,8 +823,11 @@ int sd_write_sectors(IF_MD2(int card_no,) unsigned long start, int count,
(void) outbuf;
return -1;
#else
+#ifdef HAVE_MULTIDRIVE
dbgprintf ("sd_write %d %x %d\n", card_no, start, count);
-
+#else
+ dbgprintf ("sd_write %x %d\n", start, count);
+#endif
return sd_transfer_sectors(IF_MD2(card_no,) start, count, (void*)outbuf, true);
#endif
}