X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=include%2Fasm-powerpc%2Fmpc52xx.h;h=1a3dbb743a3f58ca2445f8d1d7c0aeec9e6fe996;hb=b833b481c10cf591b15cc674948cc514e55d3b94;hp=c4631f6dd4f970be98c4609857511347f45211b7;hpb=0b662c64840fb281e5948ab6f9d60f84817277d0;p=cascardo%2Flinux.git diff --git a/include/asm-powerpc/mpc52xx.h b/include/asm-powerpc/mpc52xx.h index c4631f6dd4f9..1a3dbb743a3f 100644 --- a/include/asm-powerpc/mpc52xx.h +++ b/include/asm-powerpc/mpc52xx.h @@ -262,6 +262,16 @@ struct mpc52xx_suspend { extern struct mpc52xx_suspend mpc52xx_suspend; extern int __init mpc52xx_pm_init(void); extern int mpc52xx_set_wakeup_gpio(u8 pin, u8 level); + +#ifdef CONFIG_PPC_LITE5200 +extern int __init lite5200_pm_init(void); + +/* lite5200 calls mpc5200 suspend functions, so here they are */ +extern int mpc52xx_pm_prepare(suspend_state_t); +extern int mpc52xx_pm_enter(suspend_state_t); +extern int mpc52xx_pm_finish(suspend_state_t); +extern char saved_sram[0x4000]; /* reuse buffer from mpc52xx suspend */ +#endif #endif /* CONFIG_PM */ #endif /* __ASM_POWERPC_MPC52xx_H__ */