[MIPS] RB532: Flags are unsigned long
commit79ad6ecf08a9ccf039447c49e70efa23624cad35
authorAdrian Bunk <bunk@kernel.org>
Tue, 29 Jul 2008 06:46:34 +0000 (29 09:46 +0300)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 29 Jul 2008 07:00:47 +0000 (29 08:00 +0100)
tree67bf05205c4e735ead21548199b0aff9e81f8164
parente99830522c1c0405488987544fcdd625efd14756
[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