ARM: gemini: fix compiler warning due wrong data type

commit 31fc835fc7 upstream.

This patch fixes a compiler warning in gemini_restart()
issued by commit 7b6d864b48 ("reboot:arm: reboot_mode
changes from char to enum reboot_mode").

arch/arm/mach-gemini/board-rut1xx.c:93:2: warning: initialization from incompatible pointer type

The warning is harmless, and the patch does not need to
be backported to stable kernels.

Fixes: 7b6d864b48 ("reboot:arm: reboot_mode changes from char to enum reboot_mode.")
Signed-off-by: Hans Ulli Kroll <ulli.kroll@googlemail.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
This commit is contained in:
Hans Ulli Kroll 2015-05-11 18:13:11 +02:00 • committed by Luis Henriques
commit 4e753f66d3
2 changed files with 6 additions and 2 deletions