[MIPS] RB532: Flags are unsigned long
commit8b32d6d00ca890ebb204da1260247c11bba042b3
authorAdrian Bunk <bunk@kernel.org>
Tue, 29 Jul 2008 06:46:34 +0000 (29 09:46 +0300)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 30 Jul 2008 20:54:34 +0000 (30 21:54 +0100)
tree37bc0e424b0a9c6be366ef6c3726a23f17befc12
parentfd7ccfa7ac64156a5c1c906e0986b73d481b6dfc
[MIPS] RB532: Flags are unsigned long

A recent generic change now catches such bugs:

<--  snip  -->

...
  CC      arch/mips/rb532/time.o
cc1: warnings being treated as errors
/home/bunk/linux/kernel-2.6/git/linux-2.6/arch/mips/rb532/time.c: In function 'plat_time_init':
/home/bunk/linux/kernel-2.6/git/linux-2.6/arch/mips/rb532/time.c:55: error: comparison of distinct pointer types lacks a cast
/home/bunk/linux/kernel-2.6/git/linux-2.6/arch/mips/rb532/time.c:66: error: comparison of distinct pointer types lacks a cast
make[2]: *** [arch/mips/rb532/time.o] Error 1

<--  snip  -->

Reported-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/rb532/gpio.c
arch/mips/rb532/time.c