mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 16:24:13 +08:00
5a623ce0a5
As the only user of iTCO_vendor_pre_keepalive and iTCO_vendor_pre_set_heartbeat has just been removed, we can delete these 2 hooks. Signed-off-by: Jean Delvare <jdelvare@suse.de> Cc: Martin Wilck <mwilck@suse.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
13 lines
480 B
C
13 lines
480 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/* iTCO Vendor Specific Support hooks */
|
|
#ifdef CONFIG_ITCO_VENDOR_SUPPORT
|
|
extern void iTCO_vendor_pre_start(struct resource *, unsigned int);
|
|
extern void iTCO_vendor_pre_stop(struct resource *);
|
|
extern int iTCO_vendor_check_noreboot_on(void);
|
|
#else
|
|
#define iTCO_vendor_pre_start(acpibase, heartbeat) {}
|
|
#define iTCO_vendor_pre_stop(acpibase) {}
|
|
#define iTCO_vendor_check_noreboot_on() 1
|
|
/* 1=check noreboot; 0=don't check */
|
|
#endif
|