diff options
author | Thomas Martitz <kugel@rockbox.org> | 2009-11-26 00:51:09 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2009-11-26 00:51:09 +0000 |
commit | ee7cf6c63c67222dcf9af6f40098428c577ee775 (patch) | |
tree | 3fd27260b04243d9fc3c4735c68b92d9d58faccb /firmware/export/hotswap.h | |
parent | 82bbd1ed9f93020ef49ef91ca3282c4c29d6be88 (diff) | |
download | rockbox-ee7cf6c63c67222dcf9af6f40098428c577ee775.tar.gz rockbox-ee7cf6c63c67222dcf9af6f40098428c577ee775.zip |
Remove unused card_detect(), and make card_detect_target() static inline in each sd driver.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23757 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/hotswap.h')
-rw-r--r-- | firmware/export/hotswap.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/firmware/export/hotswap.h b/firmware/export/hotswap.h index 455dee6bcc..643048976b 100644 --- a/firmware/export/hotswap.h +++ b/firmware/export/hotswap.h | |||
@@ -53,7 +53,6 @@ typedef struct | |||
53 | #if (CONFIG_STORAGE & STORAGE_SD) | 53 | #if (CONFIG_STORAGE & STORAGE_SD) |
54 | 54 | ||
55 | #include "sd.h" | 55 | #include "sd.h" |
56 | #define card_detect card_detect_target | ||
57 | #define card_get_info card_get_info_target | 56 | #define card_get_info card_get_info_target |
58 | tCardInfo *card_get_info_target(int card_no); | 57 | tCardInfo *card_get_info_target(int card_no); |
59 | void sd_parse_csd(tCardInfo *card); | 58 | void sd_parse_csd(tCardInfo *card); |
@@ -65,7 +64,6 @@ void sd_parse_csd(tCardInfo *card); | |||
65 | #else /* STORAGE_MMC */ | 64 | #else /* STORAGE_MMC */ |
66 | 65 | ||
67 | #include "ata_mmc.h" | 66 | #include "ata_mmc.h" |
68 | #define card_detect mmc_detect | ||
69 | #define card_get_info mmc_card_info | 67 | #define card_get_info mmc_card_info |
70 | tCardInfo *mmc_card_info(int card_no); | 68 | tCardInfo *mmc_card_info(int card_no); |
71 | #define card_touched mmc_touched | 69 | #define card_touched mmc_touched |