summaryrefslogtreecommitdiffstats
path: root/firmware/target/mips/ingenic_jz47xx/ata-sd-jz4740.c
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2009-11-26 17:39:30 +0000
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2009-11-26 17:39:30 +0000
commiteab70ca28cbbed89a6f6064377e7189ecc595ac2 (patch)
tree0283a5c31ef7fc2f29c5f4673a185bfb8f4364b6 /firmware/target/mips/ingenic_jz47xx/ata-sd-jz4740.c
parent5afb4a97c205914494e3957f2c57bb322db29d1c (diff)
downloadrockbox-eab70ca28cbbed89a6f6064377e7189ecc595ac2.tar.gz
rockbox-eab70ca28cbbed89a6f6064377e7189ecc595ac2.tar.bz2
rockbox-eab70ca28cbbed89a6f6064377e7189ecc595ac2.zip
- Split off strip_volume() to a separate file
- fix some yellows git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23762 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/mips/ingenic_jz47xx/ata-sd-jz4740.c')
-rw-r--r--firmware/target/mips/ingenic_jz47xx/ata-sd-jz4740.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/target/mips/ingenic_jz47xx/ata-sd-jz4740.c b/firmware/target/mips/ingenic_jz47xx/ata-sd-jz4740.c
index 454d7a51f2..d4877a9968 100644
--- a/firmware/target/mips/ingenic_jz47xx/ata-sd-jz4740.c
+++ b/firmware/target/mips/ingenic_jz47xx/ata-sd-jz4740.c
@@ -37,7 +37,9 @@
#include "usb.h"
static long last_disk_activity = -1;
+#ifdef CONFIG_STORAGE_MULTI
static int sd_drive_nr = 0;
+#endif
static tCardInfo card;
static long sd_stack[(DEFAULT_STACK_SIZE*2 + 0x1c0)/sizeof(long)];