]> git.karo-electronics.de Git - karo-tx-linux.git/commit
power/reset: xgene-reset: Fix prototype of xgene_restart()
authorMark Brown <broonie@linaro.org>
Mon, 25 Aug 2014 00:36:29 +0000 (19:36 -0500)
committerSebastian Reichel <sre@kernel.org>
Sat, 6 Sep 2014 18:59:07 +0000 (20:59 +0200)
commitd3ed534cca703b2aaeee9277a5b8063ae6eab1d1
treed42c40aebb687ab9aeda94d1162921f68bb0a805
parent4495b0adfb65a8eb9a5255b831f2160b6e583f3d
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>
drivers/power/reset/xgene-reboot.c