summaryrefslogtreecommitdiffstats
path: root/include/asm-arm/hardware/sharpsl_pm.h
diff options
context:
space:
mode:
authorDirk Opfer2006-09-25 23:51:02 +0200
committerRussell King2006-09-27 21:59:22 +0200
commit576b3ef2495c732a56509febd5de5144f3ebccf6 (patch)
treeba4fa9ef723972d4d3cff1881386a24ef4c6732c /include/asm-arm/hardware/sharpsl_pm.h
parent[ARM] 3863/1: Add Locomo SPI Device (diff)
downloadkernel-qcow2-linux-576b3ef2495c732a56509febd5de5144f3ebccf6.tar.gz
kernel-qcow2-linux-576b3ef2495c732a56509febd5de5144f3ebccf6.tar.xz
kernel-qcow2-linux-576b3ef2495c732a56509febd5de5144f3ebccf6.zip
[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/sharpsl_pm.h')
-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