Anton Vorontsov b42f931737 rtc: rtc-ds1374: fix 'no irq' case handling
On a PowerPC board with ds1374 RTC I'm getting this error while RTC tries
to probe:

rtc-ds1374 0-0068: unable to request IRQ

This happens because I2C probing code (drivers/of/of_i2c.c) is specifying
IRQ0 for 'no irq' case, which is correct.

The driver handles this incorrectly, though. This patch fixes it.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Cc: David Brownell <david-b@pacbell.net>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Acked-by: Peter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-08-20 15:40:32 -07:00
..
2007-10-16 09:43:13 -07:00
2008-07-24 10:47:33 -07:00
2008-07-02 11:05:01 +02:00
2008-07-24 10:47:34 -07:00
2008-07-24 10:47:33 -07:00
2008-05-08 10:46:55 -07:00
2008-07-12 14:33:41 -07:00
2008-07-24 10:47:33 -07:00
2008-07-12 14:33:42 -07:00
2008-05-11 20:37:06 +02:00
2008-07-04 10:40:05 -07:00