Commit 71fa90f7 authored by Holger Freyther's avatar Holger Freyther Committed by Russell King

[ARM PATCH] 2276/1: [PATCH] SIMpad: make simpad.c compile

Patch from Holger Hans Peter Freyther

Fix compile of simpad.c ....

Signed-off-by: Holger Hans Peter Freyther
Signed-off-by: Russell King
parent f42aef2a
...@@ -20,7 +20,6 @@ ...@@ -20,7 +20,6 @@
#include <asm/mach/map.h> #include <asm/mach/map.h>
#include <asm/mach/serial_sa1100.h> #include <asm/mach/serial_sa1100.h>
#include <asm/arch/simpad.h> #include <asm/arch/simpad.h>
#include <asm/arch/registry.h>
#include <linux/serial_core.h> #include <linux/serial_core.h>
#include <linux/ioport.h> #include <linux/ioport.h>
...@@ -218,7 +217,7 @@ static void simpad_power_off(void) ...@@ -218,7 +217,7 @@ static void simpad_power_off(void)
static int __init simpad_init(void) static int __init simpad_init(void)
{ {
set_power_off_handler( simpad_power_off ); pm_power_off = simpad_power_off;
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment