]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
i2c: Fix bad hint about irqs in i2c.h
authorWolfram Sang <w.sang@pengutronix.de>
Tue, 1 Jul 2008 20:38:18 +0000 (22:38 +0200)
committerJean Delvare <khali@hyperion.delvare>
Tue, 1 Jul 2008 20:38:18 +0000 (22:38 +0200)
commit8e29da9ee8958cc17e27f4053420f1c982614793
treeb495777c2d0fefcbbb24c90157b3b95e06235f1f
parent2260e63a2f313f416b31af80d02f02ef92d20d78
i2c: Fix bad hint about irqs in i2c.h

i2c.h mentions -1 as a not-issued irq. This false hint was taken by
of_i2c and caused crashes. Don't give any advice as 'no irq' is not
consistent across all architectures yet and it is not needed internally
by the i2c-core.

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
include/linux/i2c.h