watchdog_core.h 1.1 KB

123456789101112131415161718192021222324252627282930313233
  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. #define MAX_DOGS 32 /* Maximum number of watchdog devices */
  25. /*
  26. * Functions/procedures to be called by the core
  27. */
  28. extern int watchdog_dev_register(struct watchdog_device *);
  29. extern void watchdog_dev_unregister(struct watchdog_device *);
  30. extern int __init watchdog_dev_init(void);
  31. extern void __exit watchdog_dev_exit(void);