Messages in this thread Patch in this message | | | From | dt.tangr@gmail ... | Subject | [PATCH 2/2] arm: nspire: fix nspire_restart to take enum reboot_mode instead of a char so the correct function pointer is passed to DT_MACHINE_START | Date | Mon, 25 Nov 2013 15:29:24 +1100 |
| |
From: Daniel Tang <dt.tangr@gmail.com>
Signed-off-by: Daniel Tang <dt.tangr@gmail.com> --- arch/arm/mach-nspire/nspire.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-nspire/nspire.c b/arch/arm/mach-nspire/nspire.c index 4b2ed2e..3d24ebf 100644 --- a/arch/arm/mach-nspire/nspire.c +++ b/arch/arm/mach-nspire/nspire.c @@ -63,7 +63,7 @@ static void __init nspire_init(void) nspire_auxdata, NULL); }
-static void nspire_restart(char mode, const char *cmd) +static void nspire_restart(enum reboot_mode mode, const char *cmd) { void __iomem *base = ioremap(NSPIRE_MISC_PHYS_BASE, SZ_4K); if (!base) -- 1.8.1.3
| |