Commit e933b6d6 authored by Olaf Hering's avatar Olaf Hering Committed by Linus Torvalds

[PATCH] remove ipmi pm_power_off redefinition

Use the global define of pm_power_off
Signed-off-by: default avatarOlaf Hering <olh@suse.de>
Cc: Corey Minyard <minyard@acm.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 5b3cf3e0
...@@ -37,15 +37,13 @@ ...@@ -37,15 +37,13 @@
#include <linux/proc_fs.h> #include <linux/proc_fs.h>
#include <linux/string.h> #include <linux/string.h>
#include <linux/completion.h> #include <linux/completion.h>
#include <linux/pm.h>
#include <linux/kdev_t.h> #include <linux/kdev_t.h>
#include <linux/ipmi.h> #include <linux/ipmi.h>
#include <linux/ipmi_smi.h> #include <linux/ipmi_smi.h>
#define PFX "IPMI poweroff: " #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 /* Definitions for controlling power off (if the system supports it). It
* conveniently matches the IPMI chassis control values. */ * conveniently matches the IPMI chassis control values. */
#define IPMI_CHASSIS_POWER_DOWN 0 /* power down, the default. */ #define IPMI_CHASSIS_POWER_DOWN 0 /* power down, the default. */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment