diff options
author | Jon Smirl <jonsmirl@gmail.com> | 2008-05-11 20:37:04 +0200 |
---|---|---|
committer | Jean Delvare <khali@hyperion.delvare> | 2008-05-11 20:37:04 +0200 |
commit | f5fff3602a67ff8c98fccdbf15959780be542802 (patch) | |
tree | 16c93feec5711eb5139466156b680c2d68f50785 /drivers/telephony | |
parent | 9662369786b9d07fd46d65b0f9e3938a3e01a5d9 (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/telephony')
0 files changed, 0 insertions, 0 deletions