From 0439208a8a399f0c4307c561d97e3f5523f5d085 Mon Sep 17 00:00:00 2001 From: Mark Zhan Date: Tue, 31 Jul 2007 00:39:47 -0700 Subject: [PATCH] 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 Acked-by: Alessandro Zummo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-format-patch failed