Merge tag 'for-linus-20180623' of git://git.kernel.dk/linux-block
[linux-2.6-block.git] / drivers / watchdog / iTCO_vendor.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
0e6fa3fb
AC
2/* iTCO Vendor Specific Support hooks */
3#ifdef CONFIG_ITCO_VENDOR_SUPPORT
887c8ec7
AS
4extern void iTCO_vendor_pre_start(struct resource *, unsigned int);
5extern void iTCO_vendor_pre_stop(struct resource *);
6extern void iTCO_vendor_pre_keepalive(struct resource *, unsigned int);
0e6fa3fb
AC
7extern void iTCO_vendor_pre_set_heartbeat(unsigned int);
8extern int iTCO_vendor_check_noreboot_on(void);
9#else
10#define iTCO_vendor_pre_start(acpibase, heartbeat) {}
11#define iTCO_vendor_pre_stop(acpibase) {}
12#define iTCO_vendor_pre_keepalive(acpibase, heartbeat) {}
13#define iTCO_vendor_pre_set_heartbeat(heartbeat) {}
14#define iTCO_vendor_check_noreboot_on() 1
15 /* 1=check noreboot; 0=don't check */
16#endif