aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/prcm-debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-omap2/prcm-debug.h')
-rw-r--r--arch/arm/mach-omap2/prcm-debug.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/prcm-debug.h b/arch/arm/mach-omap2/prcm-debug.h
new file mode 100644
index 0000000..14ca00fb
--- /dev/null
+++ b/arch/arm/mach-omap2/prcm-debug.h
@@ -0,0 +1,13 @@
+#ifndef __ARCH_ASM_MACH_OMAP2_PRCM_DEBUG_H
+#define __ARCH_ASM_MACH_OMAP2_PRCM_DEBUG_H
+
+#define PRCMDEBUG_LASTSLEEP (1 << 0)
+#define PRCMDEBUG_ON (1 << 1)
+
+#ifdef CONFIG_PM_DEBUG
+extern void prcmdebug_dump(int flags);
+#else
+static inline void prcmdebug_dump(int flags) { }
+#endif
+
+#endif /* __ARCH_ASM_MACH_OMAP2_PRCM_DEBUG_H */