summaryrefslogtreecommitdiff
path: root/apps/plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugin.c')
-rw-r--r--apps/plugin.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index 7931145..aff24e0 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -488,13 +488,12 @@ static const struct plugin_api rockbox_api = {
#endif
/* new stuff at the end, sort into place next time
the API gets incompatible */
-#if NUM_CORES > 1
+
+#if (CONFIG_CODEC == SWCODEC)
spinlock_init,
spinlock_lock,
spinlock_unlock,
-#endif
-#if (CONFIG_CODEC == SWCODEC)
codec_load_file,
get_codec_filename,
get_metadata,