aboutsummaryrefslogtreecommitdiff
path: root/include/asm-arm/hardware
diff options
context:
space:
mode:
authorDirk Opfer2006-09-25 22:51:02 +0100
committerRussell King2006-09-27 20:59:22 +0100
commit576b3ef2495c732a56509febd5de5144f3ebccf6 (patch)
treeba4fa9ef723972d4d3cff1881386a24ef4c6732c /include/asm-arm/hardware
parenta2025e7f73ae5eab0a25dad88c60aba67e3ae690 (diff)
[ARM] 3864/1: Refactore sharpsl_pm
This patch adds another hook into sharpsl_pm to notify the machine specific driver immediately after resume. This is needed to support the Sharp SL-6000 (Tosa). Signed-off-by: Dirk Opfer <Dirk@Opfer-Online.de> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/asm-arm/hardware')
-rw-r--r--include/asm-arm/hardware/sharpsl_pm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-arm/hardware/sharpsl_pm.h b/include/asm-arm/hardware/sharpsl_pm.h
index ecf15b83956f..a836e76a14f7 100644
--- a/include/asm-arm/hardware/sharpsl_pm.h
+++ b/include/asm-arm/hardware/sharpsl_pm.h
@@ -25,6 +25,7 @@ struct sharpsl_charger_machinfo {
void (*measure_temp)(int);
void (*presuspend)(void);
void (*postsuspend)(void);
+ void (*earlyresume)(void);
unsigned long (*read_devdata)(int);
#define SHARPSL_BATT_VOLT 1
#define SHARPSL_BATT_TEMP 2