[MIPS] Alchemy: Fix wrong cast
authorYoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Mon, 28 May 2007 14:13:50 +0000 (23:13 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 26 Jun 2007 17:57:33 +0000 (19:57 +0200)
Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/au1000/pb1100/init.c

index 1fae39a..6131b56 100644 (file)
@@ -53,7 +53,7 @@ void __init prom_init(void)
 
        prom_argc = fw_arg0;
        prom_argv = (char **) fw_arg1;
-       prom_envp = (int *) fw_arg3;
+       prom_envp = (char **) fw_arg3;
 
        mips_machgroup = MACH_GROUP_ALCHEMY;
        mips_machtype = MACH_PB1100;