All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] remove ipmi pm_power_off redefinition
@ 2006-02-06  9:29 Olaf Hering
  0 siblings, 0 replies; only message in thread
From: Olaf Hering @ 2006-02-06  9:29 UTC (permalink / raw)
  To: Andrew Morton, Corey Minyard, linux-kernel


Use the global define of pm_power_off

Signed-off-by: Olaf Hering <olh@suse.de>
---
 drivers/char/ipmi/ipmi_poweroff.c |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

Index: linux-2.6.15/drivers/char/ipmi/ipmi_poweroff.c
===================================================================
--- linux-2.6.15.orig/drivers/char/ipmi/ipmi_poweroff.c
+++ linux-2.6.15/drivers/char/ipmi/ipmi_poweroff.c
@@ -37,15 +37,13 @@
 #include <linux/proc_fs.h>
 #include <linux/string.h>
 #include <linux/completion.h>
+#include <linux/pm.h>
 #include <linux/kdev_t.h>
 #include <linux/ipmi.h>
 #include <linux/ipmi_smi.h>
 
 #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. */
-- 
short story of a lazy sysadmin:
 alias appserv=wotan

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-02-06  9:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-06  9:29 [PATCH] remove ipmi pm_power_off redefinition Olaf Hering

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.