Rohit Vaswani | c9fdd44 | 2012-03-19 14:18:32 -0700 | [diff] [blame] | 1 | /* Copyright (c) 2011-2012, Code Aurora Forum. All rights reserved. |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 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 Ohlstein | 7e66855 | 2011-10-06 16:17:25 -0700 | [diff] [blame] | 16 | struct 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 King | e7ca6f7 | 2012-02-09 20:51:25 -0800 | [diff] [blame] | 22 | bool needs_expired_enable; |
Rohit Vaswani | c9fdd44 | 2012-03-19 14:18:32 -0700 | [diff] [blame] | 23 | bool has_vic; |
Jeff Ohlstein | 7e66855 | 2011-10-06 16:17:25 -0700 | [diff] [blame] | 24 | }; |
| 25 | |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 26 | #ifdef CONFIG_MSM_WATCHDOG |
| 27 | void pet_watchdog(void); |
| 28 | #else |
| 29 | static inline void pet_watchdog(void) { } |
| 30 | #endif |
| 31 | |
| 32 | #endif |