rtc: rtc interfaces don't use class_device
[linux-2.6.git] / drivers / rtc / rtc-ds1553.c
index e27176c..afa64c7 100644 (file)
@@ -203,7 +203,7 @@ static irqreturn_t ds1553_rtc_interrupt(int irq, void *dev_id)
                events |= RTC_UF;
        else
                events |= RTC_AF;
-       rtc_update_irq(&pdata->rtc->class_dev, 1, events);
+       rtc_update_irq(pdata->rtc, 1, events);
        return IRQ_HANDLED;
 }