From 8eba69f91ba361b49cec5b546496f6251a638c47 Mon Sep 17 00:00:00 2001 From: Rafaël Carré Date: Fri, 17 Jul 2009 00:09:14 +0000 Subject: 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 --- apps/plugin.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps/plugin.c') diff --git a/apps/plugin.c b/apps/plugin.c index 84200bbf05..4b7eb28b3d 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -284,9 +284,11 @@ 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, -- cgit v1.2.3