Patchwork [2/2] rtc: s3c: Fix compilation error in s3c_rtc_remove.

login
register
mail settings
Submitter Marek Belisko
Date March 21, 2011, 12:43 p.m.
Message ID <1300711436-32296-3-git-send-email-marek.belisko@open-nandra.com>
Download mbox | patch
Permalink /patch/87764/
State New
Headers show

Comments

Marek Belisko - March 21, 2011, 12:43 p.m.
Fix following compilation error:
drivers/rtc/rtc-s3c.c: In function 's3c_rtc_remove':
drivers/rtc/rtc-s3c.c:410:2: error: implicit declaration of function 's3c_rtc_setpie'

Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
---
 drivers/rtc/rtc-s3c.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

Patch

diff --git a/drivers/rtc/rtc-s3c.c b/drivers/rtc/rtc-s3c.c
index 43dcefd..b3466c4 100644
--- a/drivers/rtc/rtc-s3c.c
+++ b/drivers/rtc/rtc-s3c.c
@@ -407,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);