blob: 86ff962d1e15db97a1c64d6bd42989319ca0bc63 [file] [log] [blame]
Wim Van Sebroeck43316042011-07-22 18:55:18 +00001/*
2 * watchdog_core.h
3 *
4 * (c) Copyright 2008-2011 Alan Cox <alan@lxorguk.ukuu.org.uk>,
5 * All Rights Reserved.
6 *
7 * (c) Copyright 2008-2011 Wim Van Sebroeck <wim@iguana.be>.
8 *
9 * This source code is part of the generic code that can be used
10 * by all the watchdog timer drivers.
11 *
12 * Based on source code of the following authors:
13 * Matt Domsch <Matt_Domsch@dell.com>,
14 * Rob Radez <rob@osinvestor.com>,
15 * Rusty Lynch <rusty@linux.co.intel.com>
16 * Satyam Sharma <satyam@infradead.org>
17 * Randy Dunlap <randy.dunlap@oracle.com>
18 *
19 * This program is free software; you can redistribute it and/or
20 * modify it under the terms of the GNU General Public License
21 * as published by the Free Software Foundation; either version
22 * 2 of the License, or (at your option) any later version.
23 *
24 * Neither Alan Cox, CymruNet Ltd., Wim Van Sebroeck nor Iguana vzw.
25 * admit liability nor provide warranty for any of this software.
26 * This material is provided "AS-IS" and at no charge.
27 */
28
Alan Cox45f5fed2012-05-10 21:48:59 +020029#define MAX_DOGS 32 /* Maximum number of watchdog devices */
30
Wim Van Sebroeck43316042011-07-22 18:55:18 +000031/*
32 * Functions/procedures to be called by the core
33 */
Wim Van Sebroeckfb5f6652012-05-21 15:33:05 +020034extern int watchdog_dev_register(struct watchdog_device *);
Guenter Roeck32ecc632015-12-25 16:01:40 -080035extern void watchdog_dev_unregister(struct watchdog_device *);
36extern int __init watchdog_dev_init(void);
Alan Cox45f5fed2012-05-10 21:48:59 +020037extern void __exit watchdog_dev_exit(void);