diff options
author | Arnd Bergmann <arnd@arndb.de> | 2012-01-09 11:14:07 -0500 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2012-01-09 11:14:07 -0500 |
commit | 142f2101a86ade2d6c9dfbedf82e1b5b31c8fce6 (patch) | |
tree | 8cced517382b7087df4e89a9e2a00ccac9676a92 /arch/arm/mach-pxa/spitz.c | |
parent | 155bc27fdfbdf65a07a4f8ef3eafa25e57d8b511 (diff) | |
parent | a07613a54d700a974f3a4a657da78ef5d097315d (diff) |
Merge branch 'samsung/cleanup' into samsung/driver
Conflicts:
arch/arm/mach-s5p64x0/cpu.c -> common.c
More changes to a file that got moved into common.c,
see previous conflict resolutions.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-pxa/spitz.c')
-rw-r--r-- | arch/arm/mach-pxa/spitz.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/arch/arm/mach-pxa/spitz.c b/arch/arm/mach-pxa/spitz.c index 953a9195f9e5..a7f81a3fd132 100644 --- a/arch/arm/mach-pxa/spitz.c +++ b/arch/arm/mach-pxa/spitz.c | |||
@@ -926,7 +926,7 @@ static inline void spitz_i2c_init(void) {} | |||
926 | ******************************************************************************/ | 926 | ******************************************************************************/ |
927 | static void spitz_poweroff(void) | 927 | static void spitz_poweroff(void) |
928 | { | 928 | { |
929 | arm_machine_restart('g', NULL); | 929 | pxa_restart('g', NULL); |
930 | } | 930 | } |
931 | 931 | ||
932 | static void spitz_restart(char mode, const char *cmd) | 932 | static void spitz_restart(char mode, const char *cmd) |
@@ -943,7 +943,6 @@ static void __init spitz_init(void) | |||
943 | { | 943 | { |
944 | init_gpio_reset(SPITZ_GPIO_ON_RESET, 1, 0); | 944 | init_gpio_reset(SPITZ_GPIO_ON_RESET, 1, 0); |
945 | pm_power_off = spitz_poweroff; | 945 | pm_power_off = spitz_poweroff; |
946 | arm_pm_restart = spitz_restart; | ||
947 | 946 | ||
948 | PMCR = 0x00; | 947 | PMCR = 0x00; |
949 | 948 | ||
@@ -982,33 +981,39 @@ static void __init spitz_fixup(struct tag *tags, char **cmdline, | |||
982 | 981 | ||
983 | #ifdef CONFIG_MACH_SPITZ | 982 | #ifdef CONFIG_MACH_SPITZ |
984 | MACHINE_START(SPITZ, "SHARP Spitz") | 983 | MACHINE_START(SPITZ, "SHARP Spitz") |
984 | .restart_mode = 'g', | ||
985 | .fixup = spitz_fixup, | 985 | .fixup = spitz_fixup, |
986 | .map_io = pxa27x_map_io, | 986 | .map_io = pxa27x_map_io, |
987 | .init_irq = pxa27x_init_irq, | 987 | .init_irq = pxa27x_init_irq, |
988 | .handle_irq = pxa27x_handle_irq, | 988 | .handle_irq = pxa27x_handle_irq, |
989 | .init_machine = spitz_init, | 989 | .init_machine = spitz_init, |
990 | .timer = &pxa_timer, | 990 | .timer = &pxa_timer, |
991 | .restart = spitz_restart, | ||
991 | MACHINE_END | 992 | MACHINE_END |
992 | #endif | 993 | #endif |
993 | 994 | ||
994 | #ifdef CONFIG_MACH_BORZOI | 995 | #ifdef CONFIG_MACH_BORZOI |
995 | MACHINE_START(BORZOI, "SHARP Borzoi") | 996 | MACHINE_START(BORZOI, "SHARP Borzoi") |
997 | .restart_mode = 'g', | ||
996 | .fixup = spitz_fixup, | 998 | .fixup = spitz_fixup, |
997 | .map_io = pxa27x_map_io, | 999 | .map_io = pxa27x_map_io, |
998 | .init_irq = pxa27x_init_irq, | 1000 | .init_irq = pxa27x_init_irq, |
999 | .handle_irq = pxa27x_handle_irq, | 1001 | .handle_irq = pxa27x_handle_irq, |
1000 | .init_machine = spitz_init, | 1002 | .init_machine = spitz_init, |
1001 | .timer = &pxa_timer, | 1003 | .timer = &pxa_timer, |
1004 | .restart = spitz_restart, | ||
1002 | MACHINE_END | 1005 | MACHINE_END |
1003 | #endif | 1006 | #endif |
1004 | 1007 | ||
1005 | #ifdef CONFIG_MACH_AKITA | 1008 | #ifdef CONFIG_MACH_AKITA |
1006 | MACHINE_START(AKITA, "SHARP Akita") | 1009 | MACHINE_START(AKITA, "SHARP Akita") |
1010 | .restart_mode = 'g', | ||
1007 | .fixup = spitz_fixup, | 1011 | .fixup = spitz_fixup, |
1008 | .map_io = pxa27x_map_io, | 1012 | .map_io = pxa27x_map_io, |
1009 | .init_irq = pxa27x_init_irq, | 1013 | .init_irq = pxa27x_init_irq, |
1010 | .handle_irq = pxa27x_handle_irq, | 1014 | .handle_irq = pxa27x_handle_irq, |
1011 | .init_machine = spitz_init, | 1015 | .init_machine = spitz_init, |
1012 | .timer = &pxa_timer, | 1016 | .timer = &pxa_timer, |
1017 | .restart = spitz_restart, | ||
1013 | MACHINE_END | 1018 | MACHINE_END |
1014 | #endif | 1019 | #endif |