]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
avr32: Minor pm_power_off cleanup
authorHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
Mon, 28 Jul 2008 11:05:19 +0000 (13:05 +0200)
committerHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
Wed, 8 Oct 2008 16:44:58 +0000 (18:44 +0200)
Include <linux/pm.h> to see the declaration of pm_power_off, and remove
unneeded NULL initializer.

Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
arch/avr32/kernel/process.c

index 2c08ac992ac3d8435c2284224cbbd5a0691ac085..134d5302b6dd21fda7f676a9bdfa3923b19e5998 100644 (file)
@@ -9,6 +9,7 @@
 #include <linux/module.h>
 #include <linux/kallsyms.h>
 #include <linux/fs.h>
+#include <linux/pm.h>
 #include <linux/ptrace.h>
 #include <linux/reboot.h>
 #include <linux/tick.h>
@@ -20,7 +21,7 @@
 
 #include <mach/pm.h>
 
-void (*pm_power_off)(void) = NULL;
+void (*pm_power_off)(void);
 EXPORT_SYMBOL(pm_power_off);
 
 /*