summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2007-08-12 21:20:54 +0000
committerNils Wallménius <nils@rockbox.org>2007-08-12 21:20:54 +0000
commit542ff8b8c3517d10e9c040af419372e8016f17d3 (patch)
tree29cda72c46b2c987cb6cccc853f10c64f243960a /firmware
parent26eb048e7a18d9b3f9864b9405283d590c873110 (diff)
downloadrockbox-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')
-rw-r--r--firmware/drivers/power.c27
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 @@
#include "system.h"
#include "power.h"
#include "logf.h"
-#include "pcf50605.h"
-#include "pcf50606.h"
#include "usb.h"
#if CONFIG_CHARGING == CHARGING_CONTROL
@@ -81,7 +79,6 @@ void power_init(void)
#endif
}
-
#if CONFIG_CHARGING
bool charger_inserted(void)
{
@@ -196,7 +193,6 @@ bool ide_powered(void)
}
#endif /* !HAVE_MMC */
-
void power_off(void)
{
set_irq_level(HIGHEST_IRQ_LEVEL);
@@ -217,27 +213,4 @@ void power_off(void)
yield();
}
-#else
-
-void charger_enable(bool on)
-{
- (void)on;
-}
-
-void power_off(void)
-{
-}
-
-void ide_power_enable(bool on)
-{
- (void)on;
-}
-
-#ifdef HAVE_SPDIF_POWER
-void spdif_power_enable(bool on)
-{
- (void)on;
-}
-#endif
-
#endif /* SIMULATOR */