Blame view

drivers/watchdog/iTCO_vendor.h 543 Bytes
b24413180   Greg Kroah-Hartman   License cleanup: ...
1
  /* SPDX-License-Identifier: GPL-2.0 */
0e6fa3fb3   Alan Cox   [WATCHDOG 18/57] ...
2
3
  /* iTCO Vendor Specific Support hooks */
  #ifdef CONFIG_ITCO_VENDOR_SUPPORT
7ca6ee389   Mika Westerberg   watchdog: iTCO_wd...
4
  extern int iTCO_vendorsupport;
887c8ec72   Aaron Sierra   watchdog: Convert...
5
6
  extern void iTCO_vendor_pre_start(struct resource *, unsigned int);
  extern void iTCO_vendor_pre_stop(struct resource *);
0e6fa3fb3   Alan Cox   [WATCHDOG 18/57] ...
7
8
  extern int iTCO_vendor_check_noreboot_on(void);
  #else
7ca6ee389   Mika Westerberg   watchdog: iTCO_wd...
9
  #define iTCO_vendorsupport				0
0e6fa3fb3   Alan Cox   [WATCHDOG 18/57] ...
10
11
  #define iTCO_vendor_pre_start(acpibase, heartbeat)	{}
  #define iTCO_vendor_pre_stop(acpibase)			{}
0e6fa3fb3   Alan Cox   [WATCHDOG 18/57] ...
12
13
14
  #define iTCO_vendor_check_noreboot_on()			1
  				/* 1=check noreboot; 0=don't check */
  #endif