1
0
Fork 0
forked from len0rd/rockbox

Add INIT_ATTR to storage_init() when possible

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31036 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Rafaël Carré 2011-11-20 18:44:40 +00:00
parent bccee89002
commit 814ffffdbe
7 changed files with 16 additions and 6 deletions

View file

@ -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);