summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2010-01-19 07:49:45 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2010-01-19 07:49:45 +0000
commit5e7b4f8c7ebc552633f2ded5c75cb41dddeec133 (patch)
treea16e216c5f4094d1ea2e074d2b1710c9a9e923e4 /firmware/export
parent29a51621d3de481cb2f4f83bb836732a98c67c84 (diff)
Dont use the disk spindown notification on the mini2440, undo this if/when we have a clean way to force a shutdown/umount of the sd card
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24283 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/ata_idle_notify.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/export/ata_idle_notify.h b/firmware/export/ata_idle_notify.h
index 348165f1d1..7c6f951790 100644
--- a/firmware/export/ata_idle_notify.h
+++ b/firmware/export/ata_idle_notify.h
@@ -46,7 +46,8 @@ enum {
#define USING_STORAGE_CALLBACK !defined(SIMULATOR) \
&& ! ((CONFIG_STORAGE & STORAGE_NAND) \
&& (CONFIG_NAND == NAND_IFP7XX)) \
- && !defined(BOOTLOADER)
+ && !defined(BOOTLOADER) \
+ && !defined(HAVE_HOTSWAP_STORAGE_AS_MAIN)
extern void register_storage_idle_func(void (*function)(void *data));
#if USING_STORAGE_CALLBACK