]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[ARM] 3113/1: PXA: Allow machines to override (and also reuse) pxa pm functions
authorRichard Purdie <rpurdie@rpsys.net>
Sun, 6 Nov 2005 15:03:23 +0000 (15:03 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 6 Nov 2005 15:03:23 +0000 (15:03 +0000)
commit756c7b748926b0baec6d2a921c3711679282c8fd
tree6eba4a4e31eef4e40c5bec85bc420006034e6cbe
parentb7ec479553b8755dd95ee988a957cbf2aef351dc
[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>
arch/arm/mach-pxa/pm.c
include/asm-arm/arch-pxa/pm.h [new file with mode: 0644]