Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[PATCH] remove ipmi pm_power_off redefinition

Use the global define of pm_power_off

Signed-off-by: Olaf Hering <olh@suse.de>
Cc: Corey Minyard <minyard@acm.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by

Olaf Hering and committed by
Linus Torvalds
e933b6d6 5b3cf3e0

+1 -3
+1 -3
drivers/char/ipmi/ipmi_poweroff.c
··· 37 37 #include <linux/proc_fs.h> 38 38 #include <linux/string.h> 39 39 #include <linux/completion.h> 40 + #include <linux/pm.h> 40 41 #include <linux/kdev_t.h> 41 42 #include <linux/ipmi.h> 42 43 #include <linux/ipmi_smi.h> 43 44 44 45 #define PFX "IPMI poweroff: " 45 - 46 - /* Where to we insert our poweroff function? */ 47 - extern void (*pm_power_off)(void); 48 46 49 47 /* Definitions for controlling power off (if the system supports it). It 50 48 * conveniently matches the IPMI chassis control values. */