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