summaryrefslogtreecommitdiff
path: root/drivers/i2c/busses/i2c-piix4.c
diff options
context:
space:
mode:
authorJon Smirl <jonsmirl@gmail.com>2008-05-11 20:37:04 +0200
committerJean Delvare <khali@hyperion.delvare>2008-05-11 20:37:04 +0200
commitf5fff3602a67ff8c98fccdbf15959780be542802 (patch)
tree16c93feec5711eb5139466156b680c2d68f50785 /drivers/i2c/busses/i2c-piix4.c
parent9662369786b9d07fd46d65b0f9e3938a3e01a5d9 (diff)
i2c-mpc: Compare to NO_IRQ instead of zero
Alter the mpc i2c driver to use the NO_IRQ symbol instead of the constant zero when checking for valid interrupts. NO_IRQ=-1 on ppc and NO_IRQ=0 on powerpc so the checks against zero are not correct. Signed-off-by: Jon Smirl <jonsmirl@gmail.com> Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'drivers/i2c/busses/i2c-piix4.c')
0 files changed, 0 insertions, 0 deletions