diff options
author | Rafaël Carré <rafael.carre@gmail.com> | 2011-11-20 18:44:40 +0000 |
---|---|---|
committer | Rafaël Carré <rafael.carre@gmail.com> | 2011-11-20 18:44:40 +0000 |
commit | 814ffffdbe5a5ea420ddc6475512a75cba7a8583 (patch) | |
tree | 8aab4d0bf5ac49a4bb2d3abb64625f6b70aa9a66 /firmware/export/sd.h | |
parent | bccee8900242d089e4e2c819725cd64b308b0157 (diff) |
Add INIT_ATTR to storage_init() when possible
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31036 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/sd.h')
-rw-r--r-- | firmware/export/sd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/export/sd.h b/firmware/export/sd.h index 8e400bf88a..43c961efb3 100644 --- a/firmware/export/sd.h +++ b/firmware/export/sd.h @@ -39,7 +39,7 @@ void sd_sleep(void); void sd_sleepnow(void); bool sd_disk_is_active(void); int sd_soft_reset(void); -int sd_init(void); +int sd_init(void) STORAGE_INIT_ATTR; void sd_close(void); int sd_read_sectors(IF_MD2(int drive,) unsigned long start, int count, void* buf); int sd_write_sectors(IF_MD2(int drive,) unsigned long start, int count, const void* buf); |