From: Andrew Morton Cc: Deepak Cc: Alessandro Zummo Cc: Russell King Signed-off-by: Andrew Morton --- drivers/rtc/rtc-pl031.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/rtc/rtc-pl031.c~add-driver-for-arm-amba-pl031-rtc-tidy drivers/rtc/rtc-pl031.c --- devel/drivers/rtc/rtc-pl031.c~add-driver-for-arm-amba-pl031-rtc-tidy 2006-05-17 23:48:30.000000000 -0700 +++ devel-akpm/drivers/rtc/rtc-pl031.c 2006-05-17 23:48:30.000000000 -0700 @@ -49,7 +49,7 @@ struct pl031_local { static irqreturn_t pl031_interrupt(int irq, void *dev_id, struct pt_regs *regs) { - struct rtc_device *rtc = (struct rtc_device *)dev_id; + struct rtc_device *rtc = dev_id; rtc_update_irq(&rtc->class_dev, 1, RTC_AF); _