summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Quadros <rogerq@ti.com>2012-07-13 12:20:33 +0300
committerXavier Boudet <x-boudet@ti.com>2012-07-25 15:47:47 +0200
commitb43d6b239c002f841d4e639b967a382cae9b4075 (patch)
treeaf14f887b79b36e0da595827c376dad3cd9146ef
parent3884c82e6e7d3bcb9e7cc792843f432a4554747e (diff)
OMAP3+: pm-debug: expose wakeup_timer_seconds in debugfs
We will need this for OFF mode testing. Signed-off-by: Roger Quadros <rogerq@ti.com>
-rw-r--r--arch/arm/mach-omap2/pm-debug.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/pm-debug.c b/arch/arm/mach-omap2/pm-debug.c
index f14299fe4bfa..85e1e1547573 100644
--- a/arch/arm/mach-omap2/pm-debug.c
+++ b/arch/arm/mach-omap2/pm-debug.c
@@ -317,6 +317,9 @@ static int __init pm_dbg_init(void)
S_IRUGO | S_IWUSR, d, &enable_oswr_mode,
&pm_dbg_option_fops);
+ (void) debugfs_create_file("wakeup_timer_seconds", S_IRUGO | S_IWUSR, d,
+ &wakeup_timer_seconds, &pm_dbg_option_fops);
+
if (cpu_is_omap34xx())
off_mode_enable_func = omap3_pm_off_mode_enable;