diff options
author | David S. Miller <davem@davemloft.net> | 2012-05-27 21:14:48 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-05-27 21:14:48 -0700 |
commit | c2e1ff39c106ab026e3feb29c038855b7ed00393 (patch) | |
tree | e0255b5b9aed8645edc4426f2d4972280910e065 /arch/arm/mach-pnx4008/core.c | |
parent | 456d3d42460c1fc20ba0d27442443fcd63aaac35 (diff) | |
parent | b48b2c3e50433ff6f7e46186daa7f986bd960215 (diff) | |
download | linux-c2e1ff39c106ab026e3feb29c038855b7ed00393.tar.gz linux-c2e1ff39c106ab026e3feb29c038855b7ed00393.tar.bz2 linux-c2e1ff39c106ab026e3feb29c038855b7ed00393.zip |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux
Pull in Linus's tree to get the commits that blew away
ARCH_USES_GETTIMEOFFSET but didn't update Sparc correctly, so
that I can apply Stephen Rothwell's fix for that mis-merge.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/arm/mach-pnx4008/core.c')
-rw-r--r-- | arch/arm/mach-pnx4008/core.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/mach-pnx4008/core.c b/arch/arm/mach-pnx4008/core.c index be4c92858509..a00d2f1254ed 100644 --- a/arch/arm/mach-pnx4008/core.c +++ b/arch/arm/mach-pnx4008/core.c @@ -265,6 +265,17 @@ static void pnx4008_restart(char mode, const char *cmd) soft_restart(0); } +#ifdef CONFIG_PM +extern int pnx4008_pm_init(void); +#else +static inline int pnx4008_pm_init(void) { return 0; } +#endif + +void __init pnx4008_init_late(void) +{ + pnx4008_pm_init(); +} + extern struct sys_timer pnx4008_timer; MACHINE_START(PNX4008, "Philips PNX4008") @@ -273,6 +284,7 @@ MACHINE_START(PNX4008, "Philips PNX4008") .map_io = pnx4008_map_io, .init_irq = pnx4008_init_irq, .init_machine = pnx4008_init, + .init_late = pnx4008_init_late, .timer = &pnx4008_timer, .restart = pnx4008_restart, MACHINE_END |