diff options
author | Nils Wallménius <nils@rockbox.org> | 2007-08-12 21:20:54 +0000 |
---|---|---|
committer | Nils Wallménius <nils@rockbox.org> | 2007-08-12 21:20:54 +0000 |
commit | 542ff8b8c3517d10e9c040af419372e8016f17d3 (patch) | |
tree | 29cda72c46b2c987cb6cccc853f10c64f243960a /firmware/drivers | |
parent | 26eb048e7a18d9b3f9864b9405283d590c873110 (diff) | |
download | rockbox-542ff8b8c3517d10e9c040af419372e8016f17d3.tar.gz rockbox-542ff8b8c3517d10e9c040af419372e8016f17d3.zip |
Remove unnecessary sim stubs and includes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14303 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers')
-rw-r--r-- | firmware/drivers/power.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/firmware/drivers/power.c b/firmware/drivers/power.c index 593fe29eb5..22c2159499 100644 --- a/firmware/drivers/power.c +++ b/firmware/drivers/power.c | |||
@@ -24,8 +24,6 @@ | |||
24 | #include "system.h" | 24 | #include "system.h" |
25 | #include "power.h" | 25 | #include "power.h" |
26 | #include "logf.h" | 26 | #include "logf.h" |
27 | #include "pcf50605.h" | ||
28 | #include "pcf50606.h" | ||
29 | #include "usb.h" | 27 | #include "usb.h" |
30 | 28 | ||
31 | #if CONFIG_CHARGING == CHARGING_CONTROL | 29 | #if CONFIG_CHARGING == CHARGING_CONTROL |
@@ -81,7 +79,6 @@ void power_init(void) | |||
81 | #endif | 79 | #endif |
82 | } | 80 | } |
83 | 81 | ||
84 | |||
85 | #if CONFIG_CHARGING | 82 | #if CONFIG_CHARGING |
86 | bool charger_inserted(void) | 83 | bool charger_inserted(void) |
87 | { | 84 | { |
@@ -196,7 +193,6 @@ bool ide_powered(void) | |||
196 | } | 193 | } |
197 | #endif /* !HAVE_MMC */ | 194 | #endif /* !HAVE_MMC */ |
198 | 195 | ||
199 | |||
200 | void power_off(void) | 196 | void power_off(void) |
201 | { | 197 | { |
202 | set_irq_level(HIGHEST_IRQ_LEVEL); | 198 | set_irq_level(HIGHEST_IRQ_LEVEL); |
@@ -217,27 +213,4 @@ void power_off(void) | |||
217 | yield(); | 213 | yield(); |
218 | } | 214 | } |
219 | 215 | ||
220 | #else | ||
221 | |||
222 | void charger_enable(bool on) | ||
223 | { | ||
224 | (void)on; | ||
225 | } | ||
226 | |||
227 | void power_off(void) | ||
228 | { | ||
229 | } | ||
230 | |||
231 | void ide_power_enable(bool on) | ||
232 | { | ||
233 | (void)on; | ||
234 | } | ||
235 | |||
236 | #ifdef HAVE_SPDIF_POWER | ||
237 | void spdif_power_enable(bool on) | ||
238 | { | ||
239 | (void)on; | ||
240 | } | ||
241 | #endif | ||
242 | |||
243 | #endif /* SIMULATOR */ | 216 | #endif /* SIMULATOR */ |