summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrank Gevaerts <frank@gevaerts.be>2008-11-04 19:37:28 +0000
committerFrank Gevaerts <frank@gevaerts.be>2008-11-04 19:37:28 +0000
commit6f32dab2aedfcd1c742f9c464ae924388ec089ab (patch)
treead8bd6286c8731f929cc8dec51c7960eec6b39c8
parent147a23a6ed370278d6ebfe9912545fe7d10f7389 (diff)
downloadrockbox-6f32dab2aedfcd1c742f9c464ae924388ec089ab.tar.gz
rockbox-6f32dab2aedfcd1c742f9c464ae924388ec089ab.zip
*_hard_reset() is only used inside ata.c, so there's no need to export it to the world
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19004 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/drivers/ata.c2
-rw-r--r--firmware/export/ata.h1
-rw-r--r--firmware/export/mmc.h1
-rw-r--r--firmware/export/nand.h1
-rw-r--r--firmware/export/ramdisk.h1
-rw-r--r--firmware/export/sd.h1
-rw-r--r--firmware/export/storage.h6
7 files changed, 1 insertions, 12 deletions
diff --git a/firmware/drivers/ata.c b/firmware/drivers/ata.c
index 4a28ed3590..00a7c3e19a 100644
--- a/firmware/drivers/ata.c
+++ b/firmware/drivers/ata.c
@@ -988,7 +988,7 @@ static void ata_thread(void)
}
/* Hardware reset protocol as specified in chapter 9.1, ATA spec draft v5 */
-int ata_hard_reset(void)
+static int ata_hard_reset(void)
{
int ret;
diff --git a/firmware/export/ata.h b/firmware/export/ata.h
index a5c2f6292a..f491e525e6 100644
--- a/firmware/export/ata.h
+++ b/firmware/export/ata.h
@@ -36,7 +36,6 @@ void ata_sleepnow(void);
doing something use ata_idle_notify.h
*/
bool ata_disk_is_active(void);
-int ata_hard_reset(void);
int ata_soft_reset(void);
int ata_init(void);
void ata_close(void);
diff --git a/firmware/export/mmc.h b/firmware/export/mmc.h
index 5d6438ec28..0d99fac0ca 100644
--- a/firmware/export/mmc.h
+++ b/firmware/export/mmc.h
@@ -32,7 +32,6 @@ void mmc_spindown(int seconds);
void mmc_sleep(void);
void mmc_sleepnow(void);
bool mmc_disk_is_active(void);
-int mmc_hard_reset(void);
int mmc_soft_reset(void);
int mmc_init(void);
void mmc_close(void);
diff --git a/firmware/export/nand.h b/firmware/export/nand.h
index 25aed46629..1757a1421a 100644
--- a/firmware/export/nand.h
+++ b/firmware/export/nand.h
@@ -31,7 +31,6 @@ void nand_enable(bool on);
void nand_spindown(int seconds);
void nand_sleep(void);
bool nand_disk_is_active(void);
-int nand_hard_reset(void);
int nand_soft_reset(void);
int nand_init(void);
void nand_close(void);
diff --git a/firmware/export/ramdisk.h b/firmware/export/ramdisk.h
index 7fb8fb7cbc..5fb78ed386 100644
--- a/firmware/export/ramdisk.h
+++ b/firmware/export/ramdisk.h
@@ -31,7 +31,6 @@ void ramdisk_enable(bool on);
void ramdisk_spindown(int seconds);
void ramdisk_sleep(void);
bool ramdisk_disk_is_active(void);
-int ramdisk_hard_reset(void);
int ramdisk_soft_reset(void);
int ramdisk_init(void);
void ramdisk_close(void);
diff --git a/firmware/export/sd.h b/firmware/export/sd.h
index fbb66cc9a9..8f1c8fe413 100644
--- a/firmware/export/sd.h
+++ b/firmware/export/sd.h
@@ -31,7 +31,6 @@ void sd_enable(bool on);
void sd_spindown(int seconds);
void sd_sleep(void);
bool sd_disk_is_active(void);
-int sd_hard_reset(void);
int sd_soft_reset(void);
int sd_init(void);
void sd_close(void);
diff --git a/firmware/export/storage.h b/firmware/export/storage.h
index 4040fe952f..14cd481f74 100644
--- a/firmware/export/storage.h
+++ b/firmware/export/storage.h
@@ -64,7 +64,6 @@ struct storage_info
#define storage_enable(on) ata_enable(on)
#define storage_sleepnow() ata_sleepnow()
#define storage_disk_is_active() ata_disk_is_active()
- #define storage_hard_reset() ata_hard_reset()
#define storage_soft_reset() ata_soft_reset()
#define storage_init() ata_init()
#define storage_close() ata_close()
@@ -92,7 +91,6 @@ struct storage_info
#define storage_enable(on) sd_enable(on)
#define storage_sleepnow() sd_sleepnow()
#define storage_disk_is_active() 0
- #define storage_hard_reset() (void)0
#define storage_soft_reset() (void)0
#define storage_init() sd_init()
#define storage_close() sd_close()
@@ -120,7 +118,6 @@ struct storage_info
#define storage_enable(on) mmc_enable(on)
#define storage_sleepnow() mmc_sleepnow()
#define storage_disk_is_active() mmc_disk_is_active()
- #define storage_hard_reset() (void)0
#define storage_soft_reset() (void)0
#define storage_init() mmc_init()
#define storage_close() mmc_close()
@@ -148,7 +145,6 @@ struct storage_info
#define storage_enable(on) (void)0
#define storage_sleepnow() nand_sleepnow()
#define storage_disk_is_active() 0
- #define storage_hard_reset() (void)0
#define storage_soft_reset() (void)0
#define storage_init() nand_init()
#define storage_close() nand_close()
@@ -176,7 +172,6 @@ struct storage_info
#define storage_enable(on) (void)0
#define storage_sleepnow() ramdisk_sleepnow()
#define storage_disk_is_active() 0
- #define storage_hard_reset() (void)0
#define storage_soft_reset() (void)0
#define storage_init() ramdisk_init()
#define storage_close() ramdisk_close()
@@ -210,7 +205,6 @@ void storage_enable(bool on);
void storage_sleep(void);
void storage_sleepnow(void);
bool storage_disk_is_active(void);
-int storage_hard_reset(void);
int storage_soft_reset(void);
int storage_init(void);
void storage_close(void);