Skip to contentSkip to conversation

rtc: rtc-s3c: fix compile error due to missing s3c_rtc_setpie

PATCH New Vasily Khoruzhick 1 participant 1 message Mar 24, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rtc: rtc-s3c: fix compile error due to missing s3c_rtc_setpie

s3c_rtc_setpie was removed, and it resulted in compiler error:

drivers/rtc/rtc-s3c.c: In function ?s3c_rtc_release?:
drivers/rtc/rtc-s3c.c:339:2: error: implicit declaration of function ?s3c_rtc_setpie?

Fix it by removing s3c_rtc_release calls.

---
 drivers/rtc/rtc-s3c.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
drivers/rtc/rtc-s3c.c +0 -2
index 7149649..b3466c4 100644
@@ -336,7 +336,6 @@ static void s3c_rtc_release(struct device *dev)
 
 	/* do not clear AIE here, it may be needed for wake */
 
-	s3c_rtc_setpie(dev, 0);
 	free_irq(s3c_rtc_alarmno, rtc_dev);
 	free_irq(s3c_rtc_tickno, rtc_dev);
 }
@@ -408,7 +407,6 @@ static int __devexit s3c_rtc_remove(struct platform_device *dev)
 	platform_set_drvdata(dev, NULL);
 	rtc_device_unregister(rtc);
 
-	s3c_rtc_setpie(&dev->dev, 0);
 	s3c_rtc_setaie(&dev->dev, 0);
 
 	clk_disable(rtc_clk);
Signature · 1 line
1.7.4.1