Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Alan Cox | 0e6fa3f | 2008-05-19 14:06:25 +0100 | [diff] [blame] | 2 | /* iTCO Vendor Specific Support hooks */ |
| 3 | #ifdef CONFIG_ITCO_VENDOR_SUPPORT |
Mika Westerberg | 7ca6ee3 | 2020-02-26 16:21:20 +0300 | [diff] [blame] | 4 | extern int iTCO_vendorsupport; |
Aaron Sierra | 887c8ec | 2012-04-20 14:14:11 -0500 | [diff] [blame] | 5 | extern void iTCO_vendor_pre_start(struct resource *, unsigned int); |
| 6 | extern void iTCO_vendor_pre_stop(struct resource *); |
Alan Cox | 0e6fa3f | 2008-05-19 14:06:25 +0100 | [diff] [blame] | 7 | extern int iTCO_vendor_check_noreboot_on(void); |
| 8 | #else |
Mika Westerberg | 7ca6ee3 | 2020-02-26 16:21:20 +0300 | [diff] [blame] | 9 | #define iTCO_vendorsupport 0 |
Alan Cox | 0e6fa3f | 2008-05-19 14:06:25 +0100 | [diff] [blame] | 10 | #define iTCO_vendor_pre_start(acpibase, heartbeat) {} |
| 11 | #define iTCO_vendor_pre_stop(acpibase) {} |
Alan Cox | 0e6fa3f | 2008-05-19 14:06:25 +0100 | [diff] [blame] | 12 | #define iTCO_vendor_check_noreboot_on() 1 |
| 13 | /* 1=check noreboot; 0=don't check */ |
| 14 | #endif |