diff options
author | Richard Purdie <rpurdie@rpsys.net> | 2005-11-06 15:03:23 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-11-06 15:03:23 +0000 |
commit | 756c7b748926b0baec6d2a921c3711679282c8fd (patch) | |
tree | 6eba4a4e31eef4e40c5bec85bc420006034e6cbe /include/asm-arm/arch-pxa | |
parent | b7ec479553b8755dd95ee988a957cbf2aef351dc (diff) | |
download | talos-obmc-linux-756c7b748926b0baec6d2a921c3711679282c8fd.tar.gz talos-obmc-linux-756c7b748926b0baec6d2a921c3711679282c8fd.zip |
[ARM] 3113/1: PXA: Allow machines to override (and also reuse) pxa pm functions
Patch from Richard Purdie
Update the PXA pm.c file to allow machines (such as the Sharp
Zaurus) to override the standard pm functions but reuse/wrap them
where needed.
The init call is made slightly earlier to give machine code an init
level to override them in removing any race.
Signed-off-by: Richard Purdie
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/asm-arm/arch-pxa')
-rw-r--r-- | include/asm-arm/arch-pxa/pm.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/asm-arm/arch-pxa/pm.h b/include/asm-arm/arch-pxa/pm.h new file mode 100644 index 000000000000..7a8a1cdf430d --- /dev/null +++ b/include/asm-arm/arch-pxa/pm.h @@ -0,0 +1,12 @@ +/* + * Copyright (c) 2005 Richard Purdie + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + * + */ + +extern int pxa_pm_prepare(suspend_state_t state); +extern int pxa_pm_enter(suspend_state_t state); +extern int pxa_pm_finish(suspend_state_t state); |