diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2008-03-12 11:08:41 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2008-03-12 11:08:41 +0000 |
commit | e37044ff1d3406994fc6e07077a593f0ae95f8d7 (patch) | |
tree | ee369ba42dd9576c4fc1023451c683d3ddaf8a01 /firmware/export/hotswap.h | |
parent | 06a5299aff38ba25c7742ae6293c588e38445f8b (diff) | |
download | rockbox-e37044ff1d3406994fc6e07077a593f0ae95f8d7.tar.gz rockbox-e37044ff1d3406994fc6e07077a593f0ae95f8d7.zip |
Hotswap code shuffling: Fix yellow. Simplify some target function access. Keep fat lock access from compiling for Ondios - think of a nicer way later.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16637 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/hotswap.h')
-rw-r--r-- | firmware/export/hotswap.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/firmware/export/hotswap.h b/firmware/export/hotswap.h index 4a1b1717ca..03971098b9 100644 --- a/firmware/export/hotswap.h +++ b/firmware/export/hotswap.h | |||
@@ -40,8 +40,10 @@ typedef struct | |||
40 | } tCardInfo; | 40 | } tCardInfo; |
41 | 41 | ||
42 | #ifdef TARGET_TREE | 42 | #ifdef TARGET_TREE |
43 | bool card_detect(void); | 43 | #include "hotswap-target.h" |
44 | tCardInfo *card_get_info(int card_no); | 44 | #define card_detect card_detect_target |
45 | #define card_get_info card_get_info_target | ||
46 | #define card_enable_monitoring card_enable_monitoring_target | ||
45 | #else /* HAVE_MMC */ | 47 | #else /* HAVE_MMC */ |
46 | #include "ata_mmc.h" | 48 | #include "ata_mmc.h" |
47 | #define card_detect mmc_detect | 49 | #define card_detect mmc_detect |