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