From 19fba5fb30efaed540478457fb52c0200a748e59 Mon Sep 17 00:00:00 2001 From: Rafaël Carré Date: Sat, 7 Jan 2012 22:32:52 +0000 Subject: powermgmt-target.h: move prototypes to powermgmt.h Implement empty stubs if needed instead of empty static inline git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31617 a1c6a512-1295-4272-9138-f99709370657 --- firmware/target/sh/archos/recorder/powermgmt-target.h | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'firmware/target/sh/archos/recorder/powermgmt-target.h') diff --git a/firmware/target/sh/archos/recorder/powermgmt-target.h b/firmware/target/sh/archos/recorder/powermgmt-target.h index 7792c05185..6b68d05bd4 100644 --- a/firmware/target/sh/archos/recorder/powermgmt-target.h +++ b/firmware/target/sh/archos/recorder/powermgmt-target.h @@ -86,18 +86,4 @@ bool charger_enabled(void); /* Battery filter lengths in samples */ #define BATT_AVE_SAMPLES 32 -/* No init to do */ -#if !(CONFIG_PLATFORM & PLATFORM_HOSTED) -static inline void powermgmt_init_target(void) {} -#endif -void charging_algorithm_step(void); - -#ifdef CHARGING_DEBUG_FILE -/* Need to flush and close debug file */ -void charging_algorithm_close(void); -#else -/* No poweroff operation to do */ -static inline void charging_algorithm_close(void) {} -#endif - #endif /* POWERMGMT_TARGET_H */ -- cgit v1.2.3