]>
Commit | Line | Data |
---|---|---|
43316044 WVS |
1 | /* |
2 | * watchdog_core.h | |
3 | * | |
4 | * (c) Copyright 2008-2011 Alan Cox <[email protected]>, | |
5 | * All Rights Reserved. | |
6 | * | |
7 | * (c) Copyright 2008-2011 Wim Van Sebroeck <[email protected]>. | |
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 <[email protected]>, | |
14 | * Rob Radez <[email protected]>, | |
15 | * Rusty Lynch <[email protected]> | |
16 | * Satyam Sharma <[email protected]> | |
17 | * Randy Dunlap <[email protected]> | |
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 | ||
45f5fed3 AC |
29 | #define MAX_DOGS 32 /* Maximum number of watchdog devices */ |
30 | ||
43316044 WVS |
31 | /* |
32 | * Functions/procedures to be called by the core | |
33 | */ | |
fb5f6658 WVS |
34 | extern int watchdog_dev_register(struct watchdog_device *); |
35 | extern int watchdog_dev_unregister(struct watchdog_device *); | |
45f5fed3 AC |
36 | extern int __init watchdog_dev_init(void); |
37 | extern void __exit watchdog_dev_exit(void); |