aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ixp4xx
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-ixp4xx')
-rw-r--r--arch/arm/mach-ixp4xx/common.c4
-rw-r--r--arch/arm/mach-ixp4xx/dsmg600-setup.c1
-rw-r--r--arch/arm/mach-ixp4xx/include/mach/platform.h4
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
534void ixp4xx_restart(char mode, const char *cmd) 534void 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);
123extern void ixp4xx_init_irq(void); 125extern void ixp4xx_init_irq(void);
124extern void ixp4xx_sys_init(void); 126extern void ixp4xx_sys_init(void);
125extern void ixp4xx_timer_init(void); 127extern void ixp4xx_timer_init(void);
126extern void ixp4xx_restart(char, const char *); 128extern void ixp4xx_restart(enum reboot_mode, const char *);
127extern void ixp4xx_pci_preinit(void); 129extern void ixp4xx_pci_preinit(void);
128struct pci_sys_data; 130struct pci_sys_data;
129extern int ixp4xx_setup(int nr, struct pci_sys_data *sys); 131extern int ixp4xx_setup(int nr, struct pci_sys_data *sys);