]> err.no Git - linux-2.6/commitdiff
[SPARC64]: Add needed pm_power_off symbol.
authorDavid S. Miller <davem@davemloft.net>
Mon, 9 Jan 2006 21:59:12 +0000 (13:59 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 9 Jan 2006 22:12:50 +0000 (14:12 -0800)
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/kernel/power.c

index 9e8362ea3104a821aa07317965b62045fc230f33..30bcaf58e3abd5dae329bc363072d9c946259bc5 100644 (file)
@@ -14,6 +14,7 @@
 #include <linux/signal.h>
 #include <linux/delay.h>
 #include <linux/interrupt.h>
+#include <linux/pm.h>
 
 #include <asm/system.h>
 #include <asm/ebus.h>
@@ -70,6 +71,9 @@ void machine_power_off(void)
        machine_halt();
 }
 
+void (*pm_power_off)(void) = machine_power_off;
+EXPORT_SYMBOL(pm_power_off);
+
 #ifdef CONFIG_PCI
 static int powerd(void *__unused)
 {