diff options
author | Mark Brown <broonie@linaro.org> | 2014-08-24 20:36:29 -0400 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2014-09-06 14:59:07 -0400 |
commit | d3ed534cca703b2aaeee9277a5b8063ae6eab1d1 (patch) | |
tree | d42c40aebb687ab9aeda94d1162921f68bb0a805 /drivers/power | |
parent | 4495b0adfb65a8eb9a5255b831f2160b6e583f3d (diff) |
power/reset: xgene-reset: Fix prototype of xgene_restart()
The xgene-reset driver uses xgene_restart() as arm_pm_restart() but that
function should take an enum reset_type as the first argument rather than
a char. Fix this; the paramter is not referenced in the implementation.
Signed-off-by: Mark Brown <broonie@linaro.org>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'drivers/power')
-rw-r--r-- | drivers/power/reset/xgene-reboot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/reset/xgene-reboot.c b/drivers/power/reset/xgene-reboot.c index ecd55f81b9d1..6b49be6867ab 100644 --- a/drivers/power/reset/xgene-reboot.c +++ b/drivers/power/reset/xgene-reboot.c | |||
@@ -40,7 +40,7 @@ struct xgene_reboot_context { | |||
40 | 40 | ||
41 | static struct xgene_reboot_context *xgene_restart_ctx; | 41 | static struct xgene_reboot_context *xgene_restart_ctx; |
42 | 42 | ||
43 | static void xgene_restart(char str, const char *cmd) | 43 | static void xgene_restart(enum reboot_mode mode, const char *cmd) |
44 | { | 44 | { |
45 | struct xgene_reboot_context *ctx = xgene_restart_ctx; | 45 | struct xgene_reboot_context *ctx = xgene_restart_ctx; |
46 | unsigned long timeout; | 46 | unsigned long timeout; |