summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2/wd_timer.h
diff options
context:
space:
mode:
authorPaul Walmsley <paul@pwsan.com>2010-12-22 05:56:17 +0300
committerPaul Walmsley <paul@pwsan.com>2010-12-22 05:56:17 +0300
commit81fbc5ef9b22df2e2198dd0c530719a263a8d1c5 (patch)
treee11b03021482b9ea8e0623a160eb86e03841b40d /arch/arm/mach-omap2/wd_timer.h
parent233cbe5b94096f95ba7bca2162d63275b0b90b5b (diff)
downloadlinux-81fbc5ef9b22df2e2198dd0c530719a263a8d1c5.tar.xz
OMAP2+: wd_timer: separate watchdog disable code from the rest of mach-omap2/devices.c
Split the wd_timer disable code out into its own file, mach-omap2/wd_timer.c; it belongs in its own file rather than cluttering up devices.c. Signed-off-by: Paul Walmsley <paul@pwsan.com> Cc: Charulatha Varadarajan <charu@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/wd_timer.h')
-rw-r--r--arch/arm/mach-omap2/wd_timer.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/wd_timer.h b/arch/arm/mach-omap2/wd_timer.h
new file mode 100644
index 000000000000..e0054a2d5505
--- /dev/null
+++ b/arch/arm/mach-omap2/wd_timer.h
@@ -0,0 +1,17 @@
+/*
+ * OMAP2+ MPU WD_TIMER-specific function prototypes
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ */
+
+#ifndef __ARCH_ARM_MACH_OMAP2_WD_TIMER_H
+#define __ARCH_ARM_MACH_OMAP2_WD_TIMER_H
+
+#include <plat/omap_hwmod.h>
+
+extern int omap2_wd_timer_disable(struct omap_hwmod *oh);
+
+#endif