public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] rtc: rtc-puv3: Add __devinit and __devexit markers for probe and remove
@ 2011-10-05 14:29 Axel Lin
  2011-10-11 10:25 ` Guan Xuetao
  2011-10-18  7:22 ` Guan Xuetao
  0 siblings, 2 replies; 8+ messages in thread
From: Axel Lin @ 2011-10-05 14:29 UTC (permalink / raw)
  To: linux-kernel; +Cc: Guan Xuetao, Alessandro Zummo, rtc-linux

Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
 drivers/rtc/rtc-puv3.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/rtc/rtc-puv3.c b/drivers/rtc/rtc-puv3.c
index b3eba3c..e4b6880 100644
--- a/drivers/rtc/rtc-puv3.c
+++ b/drivers/rtc/rtc-puv3.c
@@ -220,7 +220,7 @@ static void puv3_rtc_enable(struct platform_device *pdev, int en)
 	}
 }
 
-static int puv3_rtc_remove(struct platform_device *dev)
+static int __devexit puv3_rtc_remove(struct platform_device *dev)
 {
 	struct rtc_device *rtc = platform_get_drvdata(dev);
 
@@ -236,7 +236,7 @@ static int puv3_rtc_remove(struct platform_device *dev)
 	return 0;
 }
 
-static int puv3_rtc_probe(struct platform_device *pdev)
+static int __devinit puv3_rtc_probe(struct platform_device *pdev)
 {
 	struct rtc_device *rtc;
 	struct resource *res;
-- 
1.7.4.1




^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-10-21  8:42 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-05 14:29 [PATCH] rtc: rtc-puv3: Add __devinit and __devexit markers for probe and remove Axel Lin
2011-10-11 10:25 ` Guan Xuetao
2011-10-12  2:58   ` Guan Xuetao
2011-10-18  7:22 ` Guan Xuetao
2011-10-18  8:44   ` Axel Lin
2011-10-18 10:35     ` Guan Xuetao
2011-10-21  8:32   ` Michal Marek
2011-10-21  8:42     ` Michal Marek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox