diff options
Diffstat (limited to 'arch/arm/mach-prima2/rstc.c')
-rw-r--r-- | arch/arm/mach-prima2/rstc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-prima2/rstc.c b/arch/arm/mach-prima2/rstc.c index d5e0cbc934c0..ccb53391147a 100644 --- a/arch/arm/mach-prima2/rstc.c +++ b/arch/arm/mach-prima2/rstc.c | |||
@@ -13,6 +13,7 @@ | |||
13 | #include <linux/device.h> | 13 | #include <linux/device.h> |
14 | #include <linux/of.h> | 14 | #include <linux/of.h> |
15 | #include <linux/of_address.h> | 15 | #include <linux/of_address.h> |
16 | #include <linux/reboot.h> | ||
16 | 17 | ||
17 | void __iomem *sirfsoc_rstc_base; | 18 | void __iomem *sirfsoc_rstc_base; |
18 | static DEFINE_MUTEX(rstc_lock); | 19 | static DEFINE_MUTEX(rstc_lock); |
@@ -84,7 +85,7 @@ int sirfsoc_reset_device(struct device *dev) | |||
84 | 85 | ||
85 | #define SIRFSOC_SYS_RST_BIT BIT(31) | 86 | #define SIRFSOC_SYS_RST_BIT BIT(31) |
86 | 87 | ||
87 | void sirfsoc_restart(char mode, const char *cmd) | 88 | void sirfsoc_restart(enum reboot_mode mode, const char *cmd) |
88 | { | 89 | { |
89 | writel(SIRFSOC_SYS_RST_BIT, sirfsoc_rstc_base); | 90 | writel(SIRFSOC_SYS_RST_BIT, sirfsoc_rstc_base); |
90 | } | 91 | } |