Remove unnecessary sim stubs and includes

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14303 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Nils Wallménius 2007-08-12 21:20:54 +00:00
parent 26eb048e7a
commit 542ff8b8c3

View file

@ -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 */