[PATCH -mm] Blackfin: rtc fix rtc_update_irq augument
From: Wu, Bryan
Date: Mon Mar 26 2007 - 06:13:41 EST
Hi folks,
Replacing class_dev to directly using rtc_dev.
Signed-off-by: Bryan Wu <bryan.wu@xxxxxxxxxx>
---
drivers/rtc/rtc-bfin.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: linux-2.6/drivers/rtc/rtc-bfin.c
===================================================================
--- linux-2.6.orig/drivers/rtc/rtc-bfin.c
+++ linux-2.6/drivers/rtc/rtc-bfin.c
@@ -166,7 +166,7 @@
events |= RTC_UF | RTC_IRQF;
}
- rtc_update_irq(&rtc->rtc_dev->class_dev, 1, events);
+ rtc_update_irq(rtc->rtc_dev, 1, events);
spin_unlock_irq(&rtc->lock);
_
Thanks,
-Bryan Wu
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/