blob: 33e9e0c8c8e8c5680438e9629d986703cb3c4e69 [file] [log] [blame]
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001/* Copyright (c) 2011, Code Aurora Forum. All rights reserved.
2 *
3 * This program is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License version 2 and
5 * only version 2 as published by the Free Software Foundation.
6 *
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
11 */
12
13#ifndef __ARCH_ARM_MACH_MSM_MSM_WATCHDOG_H
14#define __ARCH_ARM_MACH_MSM_MSM_WATCHDOG_H
15
Jeff Ohlstein7e668552011-10-06 16:17:25 -070016struct msm_watchdog_pdata {
17 /* pet interval period in ms */
18 unsigned int pet_time;
19 /* bark timeout in ms */
20 unsigned int bark_time;
21 bool has_secure;
Joel Kinge7ca6f72012-02-09 20:51:25 -080022 bool needs_expired_enable;
Jeff Ohlstein7e668552011-10-06 16:17:25 -070023};
24
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070025#ifdef CONFIG_MSM_WATCHDOG
26void pet_watchdog(void);
27#else
28static inline void pet_watchdog(void) { }
29#endif
30
31#endif