summaryrefslogtreecommitdiffstats
path: root/arch/avr32/kernel/process.c
diff options
context:
space:
mode:
authorHaavard Skinnemoen <haavard.skinnemoen@atmel.com>2008-07-28 13:05:19 +0200
committerHaavard Skinnemoen <haavard.skinnemoen@atmel.com>2008-10-08 18:44:58 +0200
commitb3bc2c5562f06ca34b30f61c5714e96490946c81 (patch)
tree2dcd9d5b91f53b0ed69edbebb8aa2e757636ed81 /arch/avr32/kernel/process.c
parent520bab804e3fe4868890980a55fe785f1b8a55e5 (diff)
downloadop-kernel-dev-b3bc2c5562f06ca34b30f61c5714e96490946c81.zip
op-kernel-dev-b3bc2c5562f06ca34b30f61c5714e96490946c81.tar.gz
avr32: Minor pm_power_off cleanup
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>
Diffstat (limited to 'arch/avr32/kernel/process.c')
-rw-r--r--arch/avr32/kernel/process.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/avr32/kernel/process.c b/arch/avr32/kernel/process.c
index 2c08ac9..134d530 100644
--- a/arch/avr32/kernel/process.c
+++ b/arch/avr32/kernel/process.c
@@ -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);
/*
OpenPOWER on IntegriCloud