summaryrefslogtreecommitdiff
path: root/firmware/target
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2009-11-26 17:49:05 +0000
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2009-11-26 17:49:05 +0000
commit507465be9447c3e3ba31d3cfaf5576ac55aed2f5 (patch)
treebdda2c2286624952681ac09605ed65d84462c8a3 /firmware/target
parentd027ddb75db83b68c8dadee1cdf000d5d3925489 (diff)
Define sd_drive_nr also when HAVE_HOTSWAP is defined (fix red).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23764 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target')
-rw-r--r--firmware/target/mips/ingenic_jz47xx/ata-sd-jz4740.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/mips/ingenic_jz47xx/ata-sd-jz4740.c b/firmware/target/mips/ingenic_jz47xx/ata-sd-jz4740.c
index d4877a9968..8c1c335c13 100644
--- a/firmware/target/mips/ingenic_jz47xx/ata-sd-jz4740.c
+++ b/firmware/target/mips/ingenic_jz47xx/ata-sd-jz4740.c
@@ -37,7 +37,7 @@
#include "usb.h"
static long last_disk_activity = -1;
-#ifdef CONFIG_STORAGE_MULTI
+#if defined(CONFIG_STORAGE_MULTI) || defined(HAVE_HOTSWAP)
static int sd_drive_nr = 0;
#endif
static tCardInfo card;