[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1412659726-29957-40-git-send-email-linux@roeck-us.net>
Date: Mon, 6 Oct 2014 22:28:41 -0700
From: Guenter Roeck <linux@...ck-us.net>
To: linux-kernel@...r.kernel.org
Cc: adi-buildroot-devel@...ts.sourceforge.net,
devel@...verdev.osuosl.org, devicetree@...r.kernel.org,
lguest@...ts.ozlabs.org, linux-acpi@...r.kernel.org,
linux-alpha@...r.kernel.org, linux-am33-list@...hat.com,
linux-cris-kernel@...s.com, linux-efi@...r.kernel.org,
linux-hexagon@...r.kernel.org, linux-m32r-ja@...linux-m32r.org,
linuxppc-dev@...ts.ozlabs.org, linux-s390@...r.kernel.org,
linux-tegra@...r.kernel.org, linux-xtensa@...ux-xtensa.org,
openipmi-developer@...ts.sourceforge.net,
user-mode-linux-devel@...ts.sourceforge.net,
linux-arm-kernel@...ts.infradead.org, linux-c6x-dev@...ux-c6x.org,
linux-ia64@...r.kernel.org, linux-m68k@...ts.linux-m68k.org,
linux-metag@...r.kernel.org, linux-mips@...ux-mips.org,
linux-parisc@...r.kernel.org, linux-pm@...r.kernel.org,
linux-sh@...r.kernel.org, xen-devel@...ts.xenproject.org,
Guenter Roeck <linux@...ck-us.net>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>,
"H. Peter Anvin" <hpa@...or.com>
Subject: [PATCH 39/44] x86: ce4100: Register with kernel poweroff handler
Register with kernel poweroff handler instead of setting pm_power_off
directly.
Cc: Thomas Gleixner <tglx@...utronix.de>
Cc: Ingo Molnar <mingo@...hat.com>
Cc: H. Peter Anvin <hpa@...or.com>
Signed-off-by: Guenter Roeck <linux@...ck-us.net>
---
arch/x86/platform/ce4100/ce4100.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/platform/ce4100/ce4100.c b/arch/x86/platform/ce4100/ce4100.c
index 701fd58..4a7f3d6 100644
--- a/arch/x86/platform/ce4100/ce4100.c
+++ b/arch/x86/platform/ce4100/ce4100.c
@@ -164,5 +164,5 @@ void __init x86_ce4100_early_setup(void)
*/
reboot_type = BOOT_KBD;
- pm_power_off = ce4100_power_off;
+ register_poweroff_handler_simple(ce4100_power_off, 128);
}
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists