wl1251: use wiphy_dev instead of wl->spi->dev
[linux/fpc-iii.git] / arch / arm / mach-omap2 / pm.h
blobf7b3baf766789a157dafb06b7d7d99621cf98357
1 /*
2 * OMAP2/3 Power Management Routines
4 * Copyright (C) 2008 Nokia Corporation
5 * Jouni Hogander
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
11 #ifndef __ARCH_ARM_MACH_OMAP2_PM_H
12 #define __ARCH_ARM_MACH_OMAP2_PM_H
14 extern int omap2_pm_init(void);
15 extern int omap3_pm_init(void);
17 #ifdef CONFIG_PM_DEBUG
18 extern void omap2_pm_dump(int mode, int resume, unsigned int us);
19 extern int omap2_pm_debug;
20 #else
21 #define omap2_pm_dump(mode, resume, us) do {} while (0);
22 #define omap2_pm_debug 0
23 #endif /* CONFIG_PM_DEBUG */
25 extern void omap24xx_idle_loop_suspend(void);
27 extern void omap24xx_cpu_suspend(u32 dll_ctrl, void __iomem *sdrc_dlla_ctrl,
28 void __iomem *sdrc_power);
29 extern void omap34xx_cpu_suspend(u32 *addr, int save_state);
30 extern void save_secure_ram_context(u32 *addr);
32 extern unsigned int omap24xx_idle_loop_suspend_sz;
33 extern unsigned int omap34xx_suspend_sz;
34 extern unsigned int save_secure_ram_context_sz;
35 extern unsigned int omap24xx_cpu_suspend_sz;
36 extern unsigned int omap34xx_cpu_suspend_sz;
38 #endif