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>
This commit is contained in:
17
arch/arm/mach-omap2/wd_timer.h
Normal file
17
arch/arm/mach-omap2/wd_timer.h
Normal file
@@ -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
|
Reference in New Issue
Block a user