]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blob - arch/arm/mach-omap2/pm.h
ARM: OMAP: No need to include board-overo.h from hardware.h
[linux-2.6-omap-h63xx.git] / arch / arm / mach-omap2 / pm.h
1 #ifndef __ARCH_ARM_MACH_OMAP2_PM_H
2 #define __ARCH_ARM_MACH_OMAP2_PM_H
3 /*
4  * linux/arch/arm/mach-omap2/pm.h
5  *
6  * OMAP Power Management Routines
7  *
8  * Copyright (C) 2008 Nokia Corporation
9  * Jouni Hogander
10  *
11  * This program is free software; you can redistribute it and/or modify
12  * it under the terms of the GNU General Public License version 2 as
13  * published by the Free Software Foundation.
14  */
15
16 extern int omap2_pm_init(void);
17 extern int omap3_pm_init(void);
18
19 extern unsigned short enable_dyn_sleep;
20 extern unsigned short clocks_off_while_idle;
21 extern atomic_t sleep_block;
22
23 extern void omap2_block_sleep(void);
24 extern void omap2_allow_sleep(void);
25
26
27 #ifdef CONFIG_PM_DEBUG
28 extern void omap2_pm_dump(int mode, int resume, unsigned int us);
29 extern int omap2_pm_debug;
30 #else
31 #define omap2_pm_dump(mode, resume, us)         do {} while (0);
32 #define omap2_pm_debug                          0
33 #endif /* CONFIG_PM_DEBUG */
34 #endif