Merge tag 'ktest-v5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt...
[linux-2.6-microblaze.git] / drivers / watchdog / watchdog_core.h
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  *      watchdog_core.h
4  *
5  *      (c) Copyright 2008-2011 Alan Cox <alan@lxorguk.ukuu.org.uk>,
6  *                                              All Rights Reserved.
7  *
8  *      (c) Copyright 2008-2011 Wim Van Sebroeck <wim@iguana.be>.
9  *
10  *      This source code is part of the generic code that can be used
11  *      by all the watchdog timer drivers.
12  *
13  *      Based on source code of the following authors:
14  *        Matt Domsch <Matt_Domsch@dell.com>,
15  *        Rob Radez <rob@osinvestor.com>,
16  *        Rusty Lynch <rusty@linux.co.intel.com>
17  *        Satyam Sharma <satyam@infradead.org>
18  *        Randy Dunlap <randy.dunlap@oracle.com>
19  *
20  *      Neither Alan Cox, CymruNet Ltd., Wim Van Sebroeck nor Iguana vzw.
21  *      admit liability nor provide warranty for any of this software.
22  *      This material is provided "AS-IS" and at no charge.
23  */
24
25 #define MAX_DOGS        32      /* Maximum number of watchdog devices */
26
27 /*
28  *      Functions/procedures to be called by the core
29  */
30 extern int watchdog_dev_register(struct watchdog_device *);
31 extern void watchdog_dev_unregister(struct watchdog_device *);
32 extern int __init watchdog_dev_init(void);
33 extern void __exit watchdog_dev_exit(void);