summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/plugin.c3
-rw-r--r--apps/plugin.h5
2 files changed, 7 insertions, 1 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index 6b429c3175..63efcb5602 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -258,6 +258,9 @@ static const struct plugin_api rockbox_api = {
258 258
259 /* new stuff at the end, sort into place next time 259 /* new stuff at the end, sort into place next time
260 the API gets incompatible */ 260 the API gets incompatible */
261#ifndef SIMULATOR
262 &cpu_frequency,
263#endif
261}; 264};
262 265
263int plugin_load(const char* plugin, void* parameter) 266int plugin_load(const char* plugin, void* parameter)
diff --git a/apps/plugin.h b/apps/plugin.h
index f2e86218ea..840d495421 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -69,7 +69,7 @@
69#endif 69#endif
70 70
71/* increase this every time the api struct changes */ 71/* increase this every time the api struct changes */
72#define PLUGIN_API_VERSION 32 72#define PLUGIN_API_VERSION 33
73 73
74/* update this to latest version if a change to the api struct breaks 74/* update this to latest version if a change to the api struct breaks
75 backwards compatibility (and please take the opportunity to sort in any 75 backwards compatibility (and please take the opportunity to sort in any
@@ -307,6 +307,9 @@ struct plugin_api {
307 307
308 /* new stuff at the end, sort into place next time 308 /* new stuff at the end, sort into place next time
309 the API gets incompatible */ 309 the API gets incompatible */
310#ifndef SIMULATOR
311 long *cpu_frequency;
312#endif
310}; 313};
311 314
312/* defined by the plugin loader (plugin.c) */ 315/* defined by the plugin loader (plugin.c) */