From: Olaf Hering Use the global define of pm_power_off Signed-off-by: Olaf Hering Cc: Corey Minyard Signed-off-by: Andrew Morton --- drivers/char/ipmi/ipmi_poweroff.c | 4 +--- 1 files changed, 1 insertion(+), 3 deletions(-) diff -puN drivers/char/ipmi/ipmi_poweroff.c~remove-ipmi-pm_power_off-redefinition drivers/char/ipmi/ipmi_poweroff.c --- devel/drivers/char/ipmi/ipmi_poweroff.c~remove-ipmi-pm_power_off-redefinition 2006-02-06 01:30:04.000000000 -0800 +++ devel-akpm/drivers/char/ipmi/ipmi_poweroff.c 2006-02-06 01:30:04.000000000 -0800 @@ -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. */ _