[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 1fae39a608cf2629086150866bc33ebb13577ec0..6131b56f41b54fbc99a6fc6b48a2b0110c89c30e 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;