2019-06-21 00:28:46 +08:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0+ */
|
2011-07-23 02:55:18 +08:00
|
|
|
/*
|
|
|
|
* watchdog_core.h
|
|
|
|
*
|
|
|
|
* (c) Copyright 2008-2011 Alan Cox <alan@lxorguk.ukuu.org.uk>,
|
|
|
|
* All Rights Reserved.
|
|
|
|
*
|
|
|
|
* (c) Copyright 2008-2011 Wim Van Sebroeck <wim@iguana.be>.
|
|
|
|
*
|
|
|
|
* This source code is part of the generic code that can be used
|
|
|
|
* by all the watchdog timer drivers.
|
|
|
|
*
|
|
|
|
* Based on source code of the following authors:
|
|
|
|
* Matt Domsch <Matt_Domsch@dell.com>,
|
|
|
|
* Rob Radez <rob@osinvestor.com>,
|
|
|
|
* Rusty Lynch <rusty@linux.co.intel.com>
|
|
|
|
* Satyam Sharma <satyam@infradead.org>
|
|
|
|
* Randy Dunlap <randy.dunlap@oracle.com>
|
|
|
|
*
|
|
|
|
* Neither Alan Cox, CymruNet Ltd., Wim Van Sebroeck nor Iguana vzw.
|
|
|
|
* admit liability nor provide warranty for any of this software.
|
|
|
|
* This material is provided "AS-IS" and at no charge.
|
|
|
|
*/
|
|
|
|
|
2012-05-11 03:48:59 +08:00
|
|
|
#define MAX_DOGS 32 /* Maximum number of watchdog devices */
|
|
|
|
|
2011-07-23 02:55:18 +08:00
|
|
|
/*
|
|
|
|
* Functions/procedures to be called by the core
|
|
|
|
*/
|
2012-05-21 21:33:05 +08:00
|
|
|
extern int watchdog_dev_register(struct watchdog_device *);
|
2015-12-26 08:01:40 +08:00
|
|
|
extern void watchdog_dev_unregister(struct watchdog_device *);
|
|
|
|
extern int __init watchdog_dev_init(void);
|
2012-05-11 03:48:59 +08:00
|
|
|
extern void __exit watchdog_dev_exit(void);
|