summaryrefslogtreecommitdiff
path: root/apps/plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugin.c')
-rw-r--r--apps/plugin.c18
1 files changed, 8 insertions, 10 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index 6c402f646b..316c7c6b5d 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -344,6 +344,7 @@ static const struct plugin_api rockbox_api = {
344 mkdir, 344 mkdir,
345 rmdir, 345 rmdir,
346 dir_exists, 346 dir_exists,
347 dir_get_info,
347 348
348 /* kernel/ system */ 349 /* kernel/ system */
349#if defined(CPU_ARM) && CONFIG_PLATFORM & PLATFORM_NATIVE 350#if defined(CPU_ARM) && CONFIG_PLATFORM & PLATFORM_NATIVE
@@ -384,12 +385,15 @@ static const struct plugin_api rockbox_api = {
384 trigger_cpu_boost, 385 trigger_cpu_boost,
385 cancel_cpu_boost, 386 cancel_cpu_boost,
386#endif 387#endif
387#ifdef HAVE_CPUCACHE_FLUSH 388
388 cpucache_flush, 389 cpucache_flush,
389#endif
390#ifdef HAVE_CPUCACHE_INVALIDATE
391 cpucache_invalidate, 390 cpucache_invalidate,
392#endif 391
392 lc_open,
393 lc_open_from_mem,
394 lc_get_header,
395 lc_close,
396
393 timer_register, 397 timer_register,
394 timer_unregister, 398 timer_unregister,
395 timer_set_period, 399 timer_set_period,
@@ -722,12 +726,6 @@ static const struct plugin_api rockbox_api = {
722 726
723 /* new stuff at the end, sort into place next time 727 /* new stuff at the end, sort into place next time
724 the API gets incompatible */ 728 the API gets incompatible */
725 dir_get_info,
726
727 lc_open,
728 lc_open_from_mem,
729 lc_get_header,
730 lc_close,
731}; 729};
732 730
733int plugin_load(const char* plugin, const void* parameter) 731int plugin_load(const char* plugin, const void* parameter)