projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
reboot: arm: change reboot_mode to use enum reboot_mode
[cascardo/linux.git]
/
arch
/
arm
/
mach-bcm2835
/
bcm2835.c
diff --git
a/arch/arm/mach-bcm2835/bcm2835.c
b/arch/arm/mach-bcm2835/bcm2835.c
index
740fa9e
..
40686d7
100644
(file)
--- a/
arch/arm/mach-bcm2835/bcm2835.c
+++ b/
arch/arm/mach-bcm2835/bcm2835.c
@@
-53,7
+53,7
@@
static void bcm2835_setup_restart(void)
WARN(!wdt_regs, "failed to remap watchdog regs");
}
WARN(!wdt_regs, "failed to remap watchdog regs");
}
-static void bcm2835_restart(
char
mode, const char *cmd)
+static void bcm2835_restart(
enum reboot_mode
mode, const char *cmd)
{
u32 val;
{
u32 val;
@@
-91,7
+91,7
@@
static void bcm2835_power_off(void)
writel_relaxed(val, wdt_regs + PM_RSTS);
/* Continue with normal reset mechanism */
writel_relaxed(val, wdt_regs + PM_RSTS);
/* Continue with normal reset mechanism */
- bcm2835_restart(
0
, "");
+ bcm2835_restart(
REBOOT_HARD
, "");
}
static struct map_desc io_map __initdata = {
}
static struct map_desc io_map __initdata = {