diff options
author | Mark Arigo <markarigo@gmail.com> | 2008-05-13 02:50:31 +0000 |
---|---|---|
committer | Mark Arigo <markarigo@gmail.com> | 2008-05-13 02:50:31 +0000 |
commit | 3e743ec6c9685ef3b7d9729e2b21236bf66bed93 (patch) | |
tree | 199570de7b6cb44ef7ccf26090fbbaa061b6101c /firmware/export/hotswap.h | |
parent | 76567482215b9d786ba329072b715729ea506b7e (diff) | |
download | rockbox-3e743ec6c9685ef3b7d9729e2b21236bf66bed93.tar.gz rockbox-3e743ec6c9685ef3b7d9729e2b21236bf66bed93.zip |
Preparing for the Philips SA9200 part 2. Since the SA9200 doesn't have a microsd card (no hotswap), use HAVE_ATA_SD for the Sansa flash driver so we don't rely on HAVE_HOTSWAP in some places.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17488 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/hotswap.h')
-rw-r--r-- | firmware/export/hotswap.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/export/hotswap.h b/firmware/export/hotswap.h index 7f0aa80fda..f54423325d 100644 --- a/firmware/export/hotswap.h +++ b/firmware/export/hotswap.h | |||
@@ -39,13 +39,13 @@ typedef struct | |||
39 | unsigned int block_exp; /* block size exponent */ | 39 | unsigned int block_exp; /* block size exponent */ |
40 | } tCardInfo; | 40 | } tCardInfo; |
41 | 41 | ||
42 | #ifdef TARGET_TREE | 42 | #ifdef HAVE_ATA_SD |
43 | #ifdef HAVE_HOTSWAP | ||
44 | #include "ata-sd-target.h" | 43 | #include "ata-sd-target.h" |
45 | #endif | ||
46 | #define card_detect card_detect_target | 44 | #define card_detect card_detect_target |
47 | #define card_get_info card_get_info_target | 45 | #define card_get_info card_get_info_target |
46 | #ifdef HAVE_HOTSWAP | ||
48 | #define card_enable_monitoring card_enable_monitoring_target | 47 | #define card_enable_monitoring card_enable_monitoring_target |
48 | #endif | ||
49 | #else /* HAVE_MMC */ | 49 | #else /* HAVE_MMC */ |
50 | #include "ata_mmc.h" | 50 | #include "ata_mmc.h" |
51 | #define card_detect mmc_detect | 51 | #define card_detect mmc_detect |