From: Olaf Hering <olh@suse.de>
To: Andrew Morton <akpm@osdl.org>, Corey Minyard <minyard@mvista.com>,
linux-kernel@vger.kernel.org
Subject: [PATCH] remove ipmi pm_power_off redefinition
Date: Mon, 6 Feb 2006 10:29:11 +0100 [thread overview]
Message-ID: <20060206092911.GA24133@suse.de> (raw)
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
reply other threads:[~2006-02-06 9:29 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060206092911.GA24133@suse.de \
--to=olh@suse.de \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=minyard@mvista.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox