]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: gemini: fix compiler warning due wrong data type
authorHans Ulli Kroll <ulli.kroll@googlemail.com>
Mon, 11 May 2015 16:13:11 +0000 (18:13 +0200)
committerArnd Bergmann <arnd@arndb.de>
Tue, 12 May 2015 14:45:23 +0000 (16:45 +0200)
commit3a112f1096b2664fc97d3273c0368fcae50cc6d7
treef0ce731900ca761aa00f0b62c100d297a187b7f9
parentd1abb979cc946e9e2e8b90d80f5199f8c92c0f66
ARM: gemini: fix compiler warning due wrong data type

This patch fixes a compiler warning in gemini_restart()
issued by commit b10f3858bd13 ("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: b10f3858bd1 ("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>
arch/arm/mach-gemini/common.h
arch/arm/mach-gemini/reset.c