diff options
author | Paul Walmsley <paul@pwsan.com> | 2010-12-22 03:56:17 +0100 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2010-12-22 03:56:17 +0100 |
commit | 81fbc5ef9b22df2e2198dd0c530719a263a8d1c5 (patch) | |
tree | e11b03021482b9ea8e0623a160eb86e03841b40d /arch/arm/mach-omap2/wd_timer.h | |
parent | OMAP2+: hwmod: Update the sysc_cache in case module context is lost (diff) | |
download | linux-81fbc5ef9b22df2e2198dd0c530719a263a8d1c5.tar.xz linux-81fbc5ef9b22df2e2198dd0c530719a263a8d1c5.zip |
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.h | 17 |
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 |