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/mmc.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/mmc.h')
-rw-r--r-- | firmware/export/mmc.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/firmware/export/mmc.h b/firmware/export/mmc.h index 06d99d219e..bd4b7f93ec 100644 --- a/firmware/export/mmc.h +++ b/firmware/export/mmc.h | |||
@@ -28,8 +28,6 @@ | |||
28 | struct storage_info; | 28 | struct storage_info; |
29 | 29 | ||
30 | void mmc_enable(bool on); | 30 | void mmc_enable(bool on); |
31 | void mmc_spindown(int seconds); | ||
32 | void mmc_sleep(void); | ||
33 | void mmc_sleepnow(void); | 31 | void mmc_sleepnow(void); |
34 | bool mmc_disk_is_active(void); | 32 | bool mmc_disk_is_active(void); |
35 | int mmc_soft_reset(void); | 33 | int mmc_soft_reset(void); |
@@ -37,7 +35,6 @@ int mmc_init(void); | |||
37 | void mmc_close(void); | 35 | void mmc_close(void); |
38 | int mmc_read_sectors(IF_MV2(int drive,) unsigned long start, int count, void* buf); | 36 | int mmc_read_sectors(IF_MV2(int drive,) unsigned long start, int count, void* buf); |
39 | int mmc_write_sectors(IF_MV2(int drive,) unsigned long start, int count, const void* buf); | 37 | int mmc_write_sectors(IF_MV2(int drive,) unsigned long start, int count, const void* buf); |
40 | void mmc_spin(void); | ||
41 | int mmc_spinup_time(void); | 38 | int mmc_spinup_time(void); |
42 | 39 | ||
43 | #ifdef STORAGE_GET_INFO | 40 | #ifdef STORAGE_GET_INFO |