diff options
Diffstat (limited to 'arch/arm/mach-ixp4xx')
-rw-r--r-- | arch/arm/mach-ixp4xx/common.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-ixp4xx/dsmg600-setup.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-ixp4xx/include/mach/platform.h | 4 |
3 files changed, 6 insertions, 3 deletions
diff --git a/arch/arm/mach-ixp4xx/common.c b/arch/arm/mach-ixp4xx/common.c index 1f6c1fb353ad..5327decde5a0 100644 --- a/arch/arm/mach-ixp4xx/common.c +++ b/arch/arm/mach-ixp4xx/common.c | |||
@@ -531,9 +531,9 @@ static void __init ixp4xx_clockevent_init(void) | |||
531 | 0xf, 0xfffffffe); | 531 | 0xf, 0xfffffffe); |
532 | } | 532 | } |
533 | 533 | ||
534 | void ixp4xx_restart(char mode, const char *cmd) | 534 | void ixp4xx_restart(enum reboot_mode mode, const char *cmd) |
535 | { | 535 | { |
536 | if ( 1 && mode == 's') { | 536 | if ( 1 && mode == REBOOT_SOFT) { |
537 | /* Jump into ROM at address 0 */ | 537 | /* Jump into ROM at address 0 */ |
538 | soft_restart(0); | 538 | soft_restart(0); |
539 | } else { | 539 | } else { |
diff --git a/arch/arm/mach-ixp4xx/dsmg600-setup.c b/arch/arm/mach-ixp4xx/dsmg600-setup.c index 5d413f8c5700..686ef34c69f5 100644 --- a/arch/arm/mach-ixp4xx/dsmg600-setup.c +++ b/arch/arm/mach-ixp4xx/dsmg600-setup.c | |||
@@ -27,6 +27,7 @@ | |||
27 | #include <linux/i2c.h> | 27 | #include <linux/i2c.h> |
28 | #include <linux/i2c-gpio.h> | 28 | #include <linux/i2c-gpio.h> |
29 | 29 | ||
30 | #include <mach/hardware.h> | ||
30 | #include <asm/mach-types.h> | 31 | #include <asm/mach-types.h> |
31 | #include <asm/mach/arch.h> | 32 | #include <asm/mach/arch.h> |
32 | #include <asm/mach/flash.h> | 33 | #include <asm/mach/flash.h> |
diff --git a/arch/arm/mach-ixp4xx/include/mach/platform.h b/arch/arm/mach-ixp4xx/include/mach/platform.h index db5afb69c123..4c4c6a6f4526 100644 --- a/arch/arm/mach-ixp4xx/include/mach/platform.h +++ b/arch/arm/mach-ixp4xx/include/mach/platform.h | |||
@@ -13,6 +13,8 @@ | |||
13 | 13 | ||
14 | #ifndef __ASSEMBLY__ | 14 | #ifndef __ASSEMBLY__ |
15 | 15 | ||
16 | #include <linux/reboot.h> | ||
17 | |||
16 | #include <asm/types.h> | 18 | #include <asm/types.h> |
17 | 19 | ||
18 | #ifndef __ARMEB__ | 20 | #ifndef __ARMEB__ |
@@ -123,7 +125,7 @@ extern void ixp4xx_init_early(void); | |||
123 | extern void ixp4xx_init_irq(void); | 125 | extern void ixp4xx_init_irq(void); |
124 | extern void ixp4xx_sys_init(void); | 126 | extern void ixp4xx_sys_init(void); |
125 | extern void ixp4xx_timer_init(void); | 127 | extern void ixp4xx_timer_init(void); |
126 | extern void ixp4xx_restart(char, const char *); | 128 | extern void ixp4xx_restart(enum reboot_mode, const char *); |
127 | extern void ixp4xx_pci_preinit(void); | 129 | extern void ixp4xx_pci_preinit(void); |
128 | struct pci_sys_data; | 130 | struct pci_sys_data; |
129 | extern int ixp4xx_setup(int nr, struct pci_sys_data *sys); | 131 | extern int ixp4xx_setup(int nr, struct pci_sys_data *sys); |