Mark Zhan 0439208a8a rtc-m48t59 driver NO_IRQ mode fixup
Since irq in m48t59_private struct is defined as 'unsigned int', which will
make the following if sentence to be never true:

         if (m48t59->irq < 0)
                  m48t59->irq = NO_IRQ;

And thus it will make the m48t59_rtc_probe() is failed when the driver is
working in a no irq mode:

Signed-off-by: Mark Zhan <rongkai.zhan@windriver.com>
Acked-by: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-07-31 15:39:44 -07:00
..
2007-07-31 15:39:39 -07:00
2007-07-29 16:53:59 -07:00
2007-07-31 15:39:39 -07:00
2007-07-31 15:39:43 -07:00
2007-07-31 15:39:44 -07:00
2007-07-21 18:37:12 -07:00
2007-07-31 15:39:39 -07:00
2007-07-26 11:11:57 -07:00
2007-07-31 15:39:40 -07:00
2007-07-26 11:11:56 -07:00
2007-07-31 15:39:42 -07:00
2007-07-20 14:25:51 +10:00
2007-07-31 15:39:37 -07:00
2007-07-29 16:53:59 -07:00
2007-07-31 15:39:44 -07:00
2007-07-31 15:39:42 -07:00
2007-07-31 15:39:39 -07:00
2007-07-31 15:39:41 -07:00
2007-07-26 11:11:57 -07:00
2007-07-26 11:35:17 -07:00
2007-07-20 13:39:59 +10:00