commit | f5fff3602a67ff8c98fccdbf15959780be542802 | [log] [tgz] |
---|---|---|
author | Jon Smirl <jonsmirl@gmail.com> | Sun May 11 20:37:04 2008 +0200 |
committer | Jean Delvare <khali@hyperion.delvare> | Sun May 11 20:37:04 2008 +0200 |
tree | 16c93feec5711eb5139466156b680c2d68f50785 | |
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>