]> git.baikalelectronics.ru Git - kernel.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)
commite27a9fc63237c3e4fd66646f8c5923770e3dee4f
treeb495777c2d0fefcbbb24c90157b3b95e06235f1f
parent351d0dfdf08df3e3675636dc20bd7dab25eb00b4
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