From e933b6d6511dc80c63ab36fd584715371ae293c7 Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Fri, 24 Mar 2006 03:16:15 -0800 Subject: [PATCH] remove ipmi pm_power_off redefinition Use the global define of pm_power_off Signed-off-by: Olaf Hering Cc: Corey Minyard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- drivers/char/ipmi/ipmi_poweroff.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'drivers/char/ipmi') diff --git a/drivers/char/ipmi/ipmi_poweroff.c b/drivers/char/ipmi/ipmi_poweroff.c index 49c09ae004b..e8ed26b77d4 100644 --- a/drivers/char/ipmi/ipmi_poweroff.c +++ b/drivers/char/ipmi/ipmi_poweroff.c @@ -37,15 +37,13 @@ #include #include #include +#include #include #include #include #define PFX "IPMI poweroff: " -/* Where to we insert our poweroff function? */ -extern void (*pm_power_off)(void); - /* Definitions for controlling power off (if the system supports it). It * conveniently matches the IPMI chassis control values. */ #define IPMI_CHASSIS_POWER_DOWN 0 /* power down, the default. */ -- cgit v1.2.3