diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-11-05 11:32:23 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-01-05 07:57:09 -0500 |
commit | 3921470527fa2800f575dee376712f2a6584db91 (patch) | |
tree | ec9834d497175c5a42efe59102fb6ce12fd908f6 /arch/arm/mach-cns3xxx/include | |
parent | 6c00071268b19f92d29e5bec873a12380afd9199 (diff) |
ARM: restart: cns3xxx: use new restart hook
Hook these platforms restart code into the new restart hook rather
than using arch_reset().
Acked-by: Anton Vorontsov <cbouatmailru@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-cns3xxx/include')
-rw-r--r-- | arch/arm/mach-cns3xxx/include/mach/system.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/mach-cns3xxx/include/mach/system.h b/arch/arm/mach-cns3xxx/include/mach/system.h index 4f16c9b79f78..f92540d8211e 100644 --- a/arch/arm/mach-cns3xxx/include/mach/system.h +++ b/arch/arm/mach-cns3xxx/include/mach/system.h | |||
@@ -11,7 +11,6 @@ | |||
11 | #ifndef __MACH_SYSTEM_H | 11 | #ifndef __MACH_SYSTEM_H |
12 | #define __MACH_SYSTEM_H | 12 | #define __MACH_SYSTEM_H |
13 | 13 | ||
14 | #include <linux/io.h> | ||
15 | #include <asm/proc-fns.h> | 14 | #include <asm/proc-fns.h> |
16 | 15 | ||
17 | static inline void arch_idle(void) | 16 | static inline void arch_idle(void) |
@@ -23,6 +22,8 @@ static inline void arch_idle(void) | |||
23 | cpu_do_idle(); | 22 | cpu_do_idle(); |
24 | } | 23 | } |
25 | 24 | ||
26 | void arch_reset(char mode, const char *cmd); | 25 | static inline void arch_reset(char mode, const char *cmd) |
26 | { | ||
27 | } | ||
27 | 28 | ||
28 | #endif | 29 | #endif |