Skip to content
Commit f5fff360 authored by Jon Smirl's avatar Jon Smirl Committed by Jean Delvare
Browse files

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: default avatarJon Smirl <jonsmirl@gmail.com>
Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
parent 96623697
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment