summaryrefslogtreecommitdiff
path: root/firmware/target/arm
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2012-01-07 22:32:52 +0000
committerRafaël Carré <rafael.carre@gmail.com>2012-01-07 22:32:52 +0000
commit19fba5fb30efaed540478457fb52c0200a748e59 (patch)
treea303f65341b3f0dd16f4f716d8875861e4666f83 /firmware/target/arm
parent66149b454bfcff32ea6bb564b8d49fabc5f020d7 (diff)
downloadrockbox-19fba5fb30efaed540478457fb52c0200a748e59.tar.gz
rockbox-19fba5fb30efaed540478457fb52c0200a748e59.zip
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
Diffstat (limited to 'firmware/target/arm')
-rw-r--r--firmware/target/arm/as3525/powermgmt-target.h4
-rw-r--r--firmware/target/arm/imx31/gigabeat-s/powermgmt-target.h4
-rw-r--r--firmware/target/arm/philips/sa9200/powermgmt-target.h4
-rw-r--r--firmware/target/arm/sandisk/powermgmt-target.h4
4 files changed, 0 insertions, 16 deletions
diff --git a/firmware/target/arm/as3525/powermgmt-target.h b/firmware/target/arm/as3525/powermgmt-target.h
index f2762f3e47..3b459fa695 100644
--- a/firmware/target/arm/as3525/powermgmt-target.h
+++ b/firmware/target/arm/as3525/powermgmt-target.h
@@ -100,10 +100,6 @@
100#error "Charger settings not defined!" 100#error "Charger settings not defined!"
101#endif 101#endif
102 102
103void powermgmt_init_target(void);
104void charging_algorithm_step(void);
105void charging_algorithm_close(void);
106
107/* We want to be able to reset the averaging filter */ 103/* We want to be able to reset the averaging filter */
108#define HAVE_RESET_BATTERY_FILTER 104#define HAVE_RESET_BATTERY_FILTER
109 105
diff --git a/firmware/target/arm/imx31/gigabeat-s/powermgmt-target.h b/firmware/target/arm/imx31/gigabeat-s/powermgmt-target.h
index c881bed68c..a45d1b712f 100644
--- a/firmware/target/arm/imx31/gigabeat-s/powermgmt-target.h
+++ b/firmware/target/arm/imx31/gigabeat-s/powermgmt-target.h
@@ -107,10 +107,6 @@
107#define BATT_AVE_SAMPLES 128 107#define BATT_AVE_SAMPLES 128
108#define ICHARGER_AVE_SAMPLES 32 108#define ICHARGER_AVE_SAMPLES 32
109 109
110void powermgmt_init_target(void);
111void charging_algorithm_step(void);
112void charging_algorithm_close(void);
113
114/* Provide filtered charge current */ 110/* Provide filtered charge current */
115int battery_charge_current(void); 111int battery_charge_current(void);
116 112
diff --git a/firmware/target/arm/philips/sa9200/powermgmt-target.h b/firmware/target/arm/philips/sa9200/powermgmt-target.h
index 4400cda5d1..37ea310efe 100644
--- a/firmware/target/arm/philips/sa9200/powermgmt-target.h
+++ b/firmware/target/arm/philips/sa9200/powermgmt-target.h
@@ -36,10 +36,6 @@
36 */ 36 */
37#define ADC_BATTERY ADC_RTCSUP 37#define ADC_BATTERY ADC_RTCSUP
38 38
39void powermgmt_init_target(void);
40void charging_algorithm_step(void);
41void charging_algorithm_close(void);
42
43/* We want to be able to reset the averaging filter */ 39/* We want to be able to reset the averaging filter */
44#define HAVE_RESET_BATTERY_FILTER 40#define HAVE_RESET_BATTERY_FILTER
45 41
diff --git a/firmware/target/arm/sandisk/powermgmt-target.h b/firmware/target/arm/sandisk/powermgmt-target.h
index aa6a0e0e3d..cb1ccf55c4 100644
--- a/firmware/target/arm/sandisk/powermgmt-target.h
+++ b/firmware/target/arm/sandisk/powermgmt-target.h
@@ -47,10 +47,6 @@
47#define ADC_BATTERY ADC_RTCSUP 47#define ADC_BATTERY ADC_RTCSUP
48#endif 48#endif
49 49
50void powermgmt_init_target(void);
51void charging_algorithm_step(void);
52void charging_algorithm_close(void);
53
54/* We want to be able to reset the averaging filter */ 50/* We want to be able to reset the averaging filter */
55#define HAVE_RESET_BATTERY_FILTER 51#define HAVE_RESET_BATTERY_FILTER
56 52