rtc: rtc interfaces don't use class_device
[linux-2.6.git] / drivers / rtc / rtc-pl031.c
index f13daa9..e4bf68c 100644 (file)
@@ -51,7 +51,7 @@ static irqreturn_t pl031_interrupt(int irq, void *dev_id)
 {
        struct rtc_device *rtc = dev_id;
 
-       rtc_update_irq(&rtc->class_dev, 1, RTC_AF);
+       rtc_update_irq(rtc, 1, RTC_AF);
 
        return IRQ_HANDLED;
 }