diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2005-03-01 14:36:16 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2005-03-01 14:36:16 +0000 |
commit | d7f3d1c8ec502f8e89f7f6fe8fb185ea15715928 (patch) | |
tree | 593c7bc791fb71a32187eb6fec4a03e3b921e1a9 /apps/plugin.c | |
parent | d94f32883854c070780c837068500e2ec5f408ff (diff) | |
download | rockbox-d7f3d1c8ec502f8e89f7f6fe8fb185ea15715928.tar.gz rockbox-d7f3d1c8ec502f8e89f7f6fe8fb185ea15715928.zip |
Added cpu_frequency to the plugin API
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6094 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.c')
-rw-r--r-- | apps/plugin.c | 3 |
1 files changed, 3 insertions, 0 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 | ||
263 | int plugin_load(const char* plugin, void* parameter) | 266 | int plugin_load(const char* plugin, void* parameter) |