From 7fa6bc775021715c5f523a0b24c1379bb89a3434 Mon Sep 17 00:00:00 2001 From: Barry Wardell Date: Sat, 19 Apr 2008 16:48:01 +0000 Subject: Fix warning. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17173 a1c6a512-1295-4272-9138-f99709370657 --- firmware/target/arm/system-pp502x.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/firmware/target/arm/system-pp502x.c b/firmware/target/arm/system-pp502x.c index be781f2..9b335fe 100644 --- a/firmware/target/arm/system-pp502x.c +++ b/firmware/target/arm/system-pp502x.c @@ -140,6 +140,8 @@ static void init_cache(void) } #endif /* !BOOTLOADER */ +/* We need this for Sansas since we boost the cpu in their bootloader */ +#if !defined(BOOTLOADER) || defined(SANSA_E200) || defined(SANSA_C200) void scale_suspend_core(bool suspend) ICODE_ATTR; void scale_suspend_core(bool suspend) { @@ -283,6 +285,7 @@ static void pp_set_cpu_frequency(long frequency) spinlock_unlock(&boostctrl_spin); #endif } +#endif /* !BOOTLOADER || SANSA_E200 || SANSA_C200 */ void system_init(void) { -- cgit v1.1