diff options
author | Rafaël Carré <rafael.carre@gmail.com> | 2009-07-17 00:09:14 +0000 |
---|---|---|
committer | Rafaël Carré <rafael.carre@gmail.com> | 2009-07-17 00:09:14 +0000 |
commit | 8eba69f91ba361b49cec5b546496f6251a638c47 (patch) | |
tree | 3dc49543ddb1bb7a44a5b1dd2e2beea2ee3a500d /firmware/export/sd.h | |
parent | 20f8666b89f2ec7290d195732d5dc33d20cf3580 (diff) | |
download | rockbox-8eba69f91ba361b49cec5b546496f6251a638c47.tar.gz rockbox-8eba69f91ba361b49cec5b546496f6251a638c47.zip |
Storage API : remove undeeded target-specific functions
storage_sleep, storage_spin, storage_spindown are only defined if #defiend (HAVE_DISK_STORAGE), not for MMC/ATA/SD
remove already unneeded nand_disk_is_active, nand_soft_reset
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21912 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/sd.h')
-rw-r--r-- | firmware/export/sd.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/firmware/export/sd.h b/firmware/export/sd.h index d313a4c2e1..f100f3025f 100644 --- a/firmware/export/sd.h +++ b/firmware/export/sd.h | |||
@@ -30,15 +30,12 @@ | |||
30 | struct storage_info; | 30 | struct storage_info; |
31 | 31 | ||
32 | void sd_enable(bool on); | 32 | void sd_enable(bool on); |
33 | void sd_spindown(int seconds); | ||
34 | void sd_sleep(void); | ||
35 | bool sd_disk_is_active(void); | 33 | bool sd_disk_is_active(void); |
36 | int sd_soft_reset(void); | 34 | int sd_soft_reset(void); |
37 | int sd_init(void); | 35 | int sd_init(void); |
38 | void sd_close(void); | 36 | void sd_close(void); |
39 | int sd_read_sectors(IF_MV2(int drive,) unsigned long start, int count, void* buf); | 37 | int sd_read_sectors(IF_MV2(int drive,) unsigned long start, int count, void* buf); |
40 | int sd_write_sectors(IF_MV2(int drive,) unsigned long start, int count, const void* buf); | 38 | int sd_write_sectors(IF_MV2(int drive,) unsigned long start, int count, const void* buf); |
41 | void sd_spin(void); | ||
42 | 39 | ||
43 | #ifdef STORAGE_GET_INFO | 40 | #ifdef STORAGE_GET_INFO |
44 | void sd_get_info(IF_MV2(int drive,) struct storage_info *info); | 41 | void sd_get_info(IF_MV2(int drive,) struct storage_info *info); |