1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0 */ 2*4882a593Smuzhiyun /* iTCO Vendor Specific Support hooks */ 3*4882a593Smuzhiyun #ifdef CONFIG_ITCO_VENDOR_SUPPORT 4*4882a593Smuzhiyun extern int iTCO_vendorsupport; 5*4882a593Smuzhiyun extern void iTCO_vendor_pre_start(struct resource *, unsigned int); 6*4882a593Smuzhiyun extern void iTCO_vendor_pre_stop(struct resource *); 7*4882a593Smuzhiyun extern int iTCO_vendor_check_noreboot_on(void); 8*4882a593Smuzhiyun #else 9*4882a593Smuzhiyun #define iTCO_vendorsupport 0 10*4882a593Smuzhiyun #define iTCO_vendor_pre_start(acpibase, heartbeat) {} 11*4882a593Smuzhiyun #define iTCO_vendor_pre_stop(acpibase) {} 12*4882a593Smuzhiyun #define iTCO_vendor_check_noreboot_on() 1 13*4882a593Smuzhiyun /* 1=check noreboot; 0=don't check */ 14*4882a593Smuzhiyun #endif 15