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