forked from len0rd/rockbox
Revert r21912 : "Storage API : remove undeeded target-specific functions"
After a discussion mixed on mailing list and irc, it was agreed that more abstraction for plugins is better (so developers don't have to add a check to HAVE_DISK_STORAGE when writing disk-specific code) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21923 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
cf9935d636
commit
bdb5974c0e
15 changed files with 97 additions and 29 deletions
|
@ -284,11 +284,9 @@ static const struct plugin_api rockbox_api = {
|
|||
fdprintf,
|
||||
read_line,
|
||||
settings_parseline,
|
||||
#ifdef HAVE_DISK_STORAGE
|
||||
storage_sleep,
|
||||
storage_spin,
|
||||
storage_spindown,
|
||||
#endif
|
||||
#if USING_STORAGE_CALLBACK
|
||||
register_storage_idle_func,
|
||||
unregister_storage_idle_func,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue