diff options
author | Frank Gevaerts <frank@gevaerts.be> | 2008-11-01 17:33:21 +0000 |
---|---|---|
committer | Frank Gevaerts <frank@gevaerts.be> | 2008-11-01 17:33:21 +0000 |
commit | 19eb800f75db9746435868ff6837b7b3b506ac0a (patch) | |
tree | b06b4eb017d0a38bdd9f742d44ff242215803341 /firmware/drivers/ata_mmc.c | |
parent | 94b6a0be993f83d50e0456dfa452c39926f2ae6c (diff) | |
download | rockbox-19eb800f75db9746435868ff6837b7b3b506ac0a.tar.gz rockbox-19eb800f75db9746435868ff6837b7b3b506ac0a.zip |
conditionalise *_get_info() to get some binsize back
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18965 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/ata_mmc.c')
-rw-r--r-- | firmware/drivers/ata_mmc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/drivers/ata_mmc.c b/firmware/drivers/ata_mmc.c index 953bb90bbc..097d0a0dbd 100644 --- a/firmware/drivers/ata_mmc.c +++ b/firmware/drivers/ata_mmc.c | |||
@@ -963,6 +963,7 @@ long mmc_last_disk_activity(void) | |||
963 | return last_disk_activity; | 963 | return last_disk_activity; |
964 | } | 964 | } |
965 | 965 | ||
966 | #ifdef STORAGE_GET_INFO | ||
966 | void mmc_get_info(IF_MV2(int drive,) struct storage_info *info) | 967 | void mmc_get_info(IF_MV2(int drive,) struct storage_info *info) |
967 | { | 968 | { |
968 | #ifndef HAVE_MULTIVOLUME | 969 | #ifndef HAVE_MULTIVOLUME |
@@ -981,6 +982,7 @@ void mmc_get_info(IF_MV2(int drive,) struct storage_info *info) | |||
981 | } | 982 | } |
982 | info->revision="0.00"; | 983 | info->revision="0.00"; |
983 | } | 984 | } |
985 | #endif | ||
984 | 986 | ||
985 | #ifdef HAVE_HOTSWAP | 987 | #ifdef HAVE_HOTSWAP |
986 | bool mmc_removable(IF_MV_NONVOID(int drive)) | 988 | bool mmc_removable(IF_MV_NONVOID(int drive)) |