]> Git Repo - linux.git/commit
i2c-mv64xxx: correct mv64xxx_i2c_intr() return type
authorMikael Pettersson <[email protected]>
Mon, 7 Sep 2009 10:00:13 +0000 (12:00 +0200)
committerBen Dooks <[email protected]>
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 <[email protected]>
Signed-off-by: Ben Dooks <[email protected]>
drivers/i2c/busses/i2c-mv64xxx.c
This page took 0.050439 seconds and 4 git commands to generate.