blob: 69e92e692ae01eacb11c39a9bc45351bbd4768c6 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
Alan Cox0e6fa3f2008-05-19 14:06:25 +01002/* iTCO Vendor Specific Support hooks */
3#ifdef CONFIG_ITCO_VENDOR_SUPPORT
Mika Westerberg7ca6ee32020-02-26 16:21:20 +03004extern int iTCO_vendorsupport;
Aaron Sierra887c8ec2012-04-20 14:14:11 -05005extern void iTCO_vendor_pre_start(struct resource *, unsigned int);
6extern void iTCO_vendor_pre_stop(struct resource *);
Alan Cox0e6fa3f2008-05-19 14:06:25 +01007extern int iTCO_vendor_check_noreboot_on(void);
8#else
Mika Westerberg7ca6ee32020-02-26 16:21:20 +03009#define iTCO_vendorsupport 0
Alan Cox0e6fa3f2008-05-19 14:06:25 +010010#define iTCO_vendor_pre_start(acpibase, heartbeat) {}
11#define iTCO_vendor_pre_stop(acpibase) {}
Alan Cox0e6fa3f2008-05-19 14:06:25 +010012#define iTCO_vendor_check_noreboot_on() 1
13 /* 1=check noreboot; 0=don't check */
14#endif