i2c-mv64xxx: correct mv64xxx_i2c_intr() return type
authorMikael Pettersson <mikpe@it.uu.se>
Mon, 7 Sep 2009 10:00:13 +0000 (12:00 +0200)
committerBen Dooks <ben-linux@fluff.org>
Sat, 19 Sep 2009 22:02:03 +0000 (23:02 +0100)
commitb0999cc55bd49e315ec82d2fb770a0d9ef7cbed8
tree4052376ab9149a0c73d9272556036284653fbd5e
parent78f28b7c555359c67c2a0d23f7436e915329421e
i2c-mv64xxx: correct mv64xxx_i2c_intr() return type

The mv64xxx_i2c_intr() irq handler in drivers/i2c/busses/i2c-mv64xxx.c
is declared as returning 'int', resulting in this compile-time warning:

drivers/i2c/busses/i2c-mv64xxx.c: In function 'mv64xxx_i2c_probe':
drivers/i2c/busses/i2c-mv64xxx.c:540: warning: passing argument 2 of 'request_irq' from incompatible pointer type

Fix: correct the return type to 'irqreturn_t'.

Signed-off-by: Mikael Pettersson <mikpe@it.uu.se>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
drivers/i2c/busses/i2c-mv64xxx.c