Merge tag 'trace-v5.11-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt...
[linux/fpc-iii.git] / drivers / watchdog / watchdog_core.h
bloba5062e8e0d137bd535a583d7e2bd687d2f59609b
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3 * watchdog_core.h
5 * (c) Copyright 2008-2011 Alan Cox <alan@lxorguk.ukuu.org.uk>,
6 * All Rights Reserved.
8 * (c) Copyright 2008-2011 Wim Van Sebroeck <wim@iguana.be>.
10 * This source code is part of the generic code that can be used
11 * by all the watchdog timer drivers.
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>
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.
25 #define MAX_DOGS 32 /* Maximum number of watchdog devices */
28 * Functions/procedures to be called by the core
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);