reboot: arm: change reboot_mode to use enum reboot_mode
[deliverable/linux.git] / arch / arm / mach-mvebu / system-controller.c
index b8079df8c986709265dee32bd700232ded68f43f..f875124ff4f9e558ff9be36c08d6bbc9ab3fdf13 100644 (file)
@@ -26,6 +26,7 @@
 #include <linux/init.h>
 #include <linux/of_address.h>
 #include <linux/io.h>
+#include <linux/reboot.h>
 
 static void __iomem *system_controller_base;
 
@@ -63,7 +64,7 @@ static struct of_device_id of_system_controller_table[] = {
        { /* end of list */ },
 };
 
-void mvebu_restart(char mode, const char *cmd)
+void mvebu_restart(enum reboot_mode mode, const char *cmd)
 {
        if (!system_controller_base) {
                pr_err("Cannot restart, system-controller not available: check the device tree\n");
This page took 0.04435 seconds and 5 git commands to generate.