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

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

Comments

Marek Belisko - March 21, 2011, 12:43 p.m.
Fix compilation 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'

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 7149649..43dcefd 100644
--- a/drivers/rtc/rtc-s3c.c
+++ b/drivers/rtc/rtc-s3c.c
@@ -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);
 }