public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/7] rtc: rtc-mv: add __init annotation
@ 2013-02-28 10:37 Jingoo Han
  2013-02-28 10:37 ` [PATCH 2/7] rtc: rtc-davinci: add __exit annotation Jingoo Han
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Jingoo Han @ 2013-02-28 10:37 UTC (permalink / raw)
  To: 'Andrew Morton'
  Cc: linux-kernel, 'Alessandro Zummo', rtc-linux,
	'Jingoo Han'

When platform_driver_probe() is used, bind/unbind via sysfs is
disabled. Thus, __init/__exit annotations can be added to
probe()/remove().

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
---
 drivers/rtc/rtc-mv.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/rtc/rtc-mv.c b/drivers/rtc/rtc-mv.c
index 57233c8..59d1671 100644
--- a/drivers/rtc/rtc-mv.c
+++ b/drivers/rtc/rtc-mv.c
@@ -215,7 +215,7 @@ static const struct rtc_class_ops mv_rtc_alarm_ops = {
 	.alarm_irq_enable = mv_rtc_alarm_irq_enable,
 };
 
-static int mv_rtc_probe(struct platform_device *pdev)
+static int __init mv_rtc_probe(struct platform_device *pdev)
 {
 	struct resource *res;
 	struct rtc_plat_data *pdata;
-- 
1.7.2.5



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

end of thread, other threads:[~2013-02-28 10:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-28 10:37 [PATCH 1/7] rtc: rtc-mv: add __init annotation Jingoo Han
2013-02-28 10:37 ` [PATCH 2/7] rtc: rtc-davinci: add __exit annotation Jingoo Han
2013-02-28 10:38 ` [PATCH 3/7] rtc: rtc-ds1302: " Jingoo Han
2013-02-28 10:38 ` [PATCH 4/7] rtc: rtc-imxdi: add __init/__exit annotation Jingoo Han
2013-02-28 10:39 ` [PATCH 5/7] rtc: rtc-nuc900: " Jingoo Han
2013-02-28 10:39 ` [PATCH 6/7] rtc: rtc-pcap: " Jingoo Han
2013-02-28 10:40 ` [PATCH 7/7] rtc: rtc-tegra: " Jingoo Han

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