diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-11-05 16:40:09 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-01-05 13:57:15 +0100 |
commit | 9854a38e371a153c7c4adb2cb7951c27befe0362 (patch) | |
tree | 0e4de89b4eb1a27e2e1b2096bc25977ccdf93453 /arch/arm/mach-mmp/pxa168.c | |
parent | ARM: restart: lpc32xx: use new restart hook (diff) | |
download | linux-9854a38e371a153c7c4adb2cb7951c27befe0362.tar.xz linux-9854a38e371a153c7c4adb2cb7951c27befe0362.zip |
ARM: restart: mmp: use new restart hook
Hook the Shark restart code into the new restart hook rather than
using arch_reset().
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-mmp/pxa168.c')
-rw-r--r-- | arch/arm/mach-mmp/pxa168.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-mmp/pxa168.c b/arch/arm/mach-mmp/pxa168.c index 76ca15c00e45..13f23867a86a 100644 --- a/arch/arm/mach-mmp/pxa168.c +++ b/arch/arm/mach-mmp/pxa168.c @@ -214,3 +214,8 @@ int __init pxa168_add_usb_host(struct pxa168_usb_pdata *pdata) pxa168_device_usb_host.dev.platform_data = pdata; return platform_device_register(&pxa168_device_usb_host); } + +void pxa168_restart(char mode, const char *cmd) +{ + soft_restart(0xffff0000); +} |