summaryrefslogtreecommitdiff
path: root/drivers/power/reset/vexpress-poweroff.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/power/reset/vexpress-poweroff.c')
-rw-r--r--drivers/power/reset/vexpress-poweroff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/reset/vexpress-poweroff.c b/drivers/power/reset/vexpress-poweroff.c
index 469e6962b2cf..476aa495c110 100644
--- a/drivers/power/reset/vexpress-poweroff.c
+++ b/drivers/power/reset/vexpress-poweroff.c
@@ -48,7 +48,7 @@ static void vexpress_power_off(void)
static struct device *vexpress_restart_device;
-static void vexpress_restart(char str, const char *cmd)
+static void vexpress_restart(enum reboot_mode reboot_mode, const char *cmd)
{
vexpress_reset_do(vexpress_restart_device, "restart");
}