Skip to content

Commit

Permalink
avr32: Minor pm_power_off cleanup
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Haavard Skinnemoen committed Oct 8, 2008
1 parent 520bab8 commit b3bc2c5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arch/avr32/kernel/process.c
Expand Up @@ -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>
Expand All @@ -20,7 +21,7 @@

#include <mach/pm.h>

void (*pm_power_off)(void) = NULL;
void (*pm_power_off)(void);
EXPORT_SYMBOL(pm_power_off);

/*
Expand Down

0 comments on commit b3bc2c5

Please sign in to comment.