aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s5pv210
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-s5pv210')
-rw-r--r--arch/arm/mach-s5pv210/common.c2
-rw-r--r--arch/arm/mach-s5pv210/common.h4
-rw-r--r--arch/arm/mach-s5pv210/mach-aquila.c8
-rw-r--r--arch/arm/mach-s5pv210/mach-goni.c8
4 files changed, 8 insertions, 14 deletions
diff --git a/arch/arm/mach-s5pv210/common.c b/arch/arm/mach-s5pv210/common.c
index 9dfe93e2624d..023f1a796a9c 100644
--- a/arch/arm/mach-s5pv210/common.c
+++ b/arch/arm/mach-s5pv210/common.c
@@ -143,7 +143,7 @@ static struct map_desc s5pv210_iodesc[] __initdata = {
143 } 143 }
144}; 144};
145 145
146void s5pv210_restart(char mode, const char *cmd) 146void s5pv210_restart(enum reboot_mode mode, const char *cmd)
147{ 147{
148 __raw_writel(0x1, S5P_SWRESET); 148 __raw_writel(0x1, S5P_SWRESET);
149} 149}
diff --git a/arch/arm/mach-s5pv210/common.h b/arch/arm/mach-s5pv210/common.h
index 0a1cc0aef720..fe1beb54e548 100644
--- a/arch/arm/mach-s5pv210/common.h
+++ b/arch/arm/mach-s5pv210/common.h
@@ -12,13 +12,15 @@
12#ifndef __ARCH_ARM_MACH_S5PV210_COMMON_H 12#ifndef __ARCH_ARM_MACH_S5PV210_COMMON_H
13#define __ARCH_ARM_MACH_S5PV210_COMMON_H 13#define __ARCH_ARM_MACH_S5PV210_COMMON_H
14 14
15#include <linux/reboot.h>
16
15void s5pv210_init_io(struct map_desc *mach_desc, int size); 17void s5pv210_init_io(struct map_desc *mach_desc, int size);
16void s5pv210_init_irq(void); 18void s5pv210_init_irq(void);
17 19
18void s5pv210_register_clocks(void); 20void s5pv210_register_clocks(void);
19void s5pv210_setup_clocks(void); 21void s5pv210_setup_clocks(void);
20 22
21void s5pv210_restart(char mode, const char *cmd); 23void s5pv210_restart(enum reboot_mode mode, const char *cmd);
22 24
23extern int s5pv210_init(void); 25extern int s5pv210_init(void);
24extern void s5pv210_map_io(void); 26extern void s5pv210_map_io(void);
diff --git a/arch/arm/mach-s5pv210/mach-aquila.c b/arch/arm/mach-s5pv210/mach-aquila.c
index ed2b85485b9d..ad40ab0f5dbd 100644
--- a/arch/arm/mach-s5pv210/mach-aquila.c
+++ b/arch/arm/mach-s5pv210/mach-aquila.c
@@ -377,12 +377,8 @@ static struct max8998_platform_data aquila_max8998_pdata = {
377 .buck1_set1 = S5PV210_GPH0(3), 377 .buck1_set1 = S5PV210_GPH0(3),
378 .buck1_set2 = S5PV210_GPH0(4), 378 .buck1_set2 = S5PV210_GPH0(4),
379 .buck2_set3 = S5PV210_GPH0(5), 379 .buck2_set3 = S5PV210_GPH0(5),
380 .buck1_voltage1 = 1200000, 380 .buck1_voltage = { 1200000, 1200000, 1200000, 1200000 },
381 .buck1_voltage2 = 1200000, 381 .buck2_voltage = { 1200000, 1200000 },
382 .buck1_voltage3 = 1200000,
383 .buck1_voltage4 = 1200000,
384 .buck2_voltage1 = 1200000,
385 .buck2_voltage2 = 1200000,
386}; 382};
387#endif 383#endif
388 384
diff --git a/arch/arm/mach-s5pv210/mach-goni.c b/arch/arm/mach-s5pv210/mach-goni.c
index 30b24ad84f49..e5cd9fbf19e9 100644
--- a/arch/arm/mach-s5pv210/mach-goni.c
+++ b/arch/arm/mach-s5pv210/mach-goni.c
@@ -580,12 +580,8 @@ static struct max8998_platform_data goni_max8998_pdata = {
580 .buck1_set1 = S5PV210_GPH0(3), 580 .buck1_set1 = S5PV210_GPH0(3),
581 .buck1_set2 = S5PV210_GPH0(4), 581 .buck1_set2 = S5PV210_GPH0(4),
582 .buck2_set3 = S5PV210_GPH0(5), 582 .buck2_set3 = S5PV210_GPH0(5),
583 .buck1_voltage1 = 1200000, 583 .buck1_voltage = { 1200000, 1200000, 1200000, 1200000 },
584 .buck1_voltage2 = 1200000, 584 .buck2_voltage = { 1200000, 1200000 },
585 .buck1_voltage3 = 1200000,
586 .buck1_voltage4 = 1200000,
587 .buck2_voltage1 = 1200000,
588 .buck2_voltage2 = 1200000,
589}; 585};
590#endif 586#endif
591 587