From 4aad78664508ccbc3b5b3585d81d36801734ccda Mon Sep 17 00:00:00 2001 From: Jingoo Han Date: Mon, 29 Apr 2013 16:18:24 -0700 Subject: [PATCH] --- yaml --- r: 365679 b: refs/heads/master c: 5073cba64fd0acb2555aad8f33ff4c64f68c15db h: refs/heads/master i: 365677: 431fb81992c1837004ad8302d3fc0f2bf6470fe6 365675: b850726e2ebdb1493f217dbb6b92e1d1795e0588 365671: 7feed240656992eadccbbf38878e7bef2903fd38 365663: d2b542cd7fee9873b78635f5ebcdbe44fe7c70f7 v: v3 --- [refs] | 2 +- trunk/drivers/rtc/rtc-imxdi.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index 152c04829197..5df94f929420 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: e3c70624e664f6390c699201a93b8528b818f24f +refs/heads/master: 5073cba64fd0acb2555aad8f33ff4c64f68c15db diff --git a/trunk/drivers/rtc/rtc-imxdi.c b/trunk/drivers/rtc/rtc-imxdi.c index 82aad695979e..73cf81c34a22 100644 --- a/trunk/drivers/rtc/rtc-imxdi.c +++ b/trunk/drivers/rtc/rtc-imxdi.c @@ -369,7 +369,7 @@ static void dryice_work(struct work_struct *work) /* * probe for dryice rtc device */ -static int dryice_rtc_probe(struct platform_device *pdev) +static int __init dryice_rtc_probe(struct platform_device *pdev) { struct resource *res; struct imxdi_dev *imxdi; @@ -479,7 +479,7 @@ static int dryice_rtc_probe(struct platform_device *pdev) return rc; } -static int dryice_rtc_remove(struct platform_device *pdev) +static int __exit dryice_rtc_remove(struct platform_device *pdev) { struct imxdi_dev *imxdi = platform_get_drvdata(pdev); @@ -510,7 +510,7 @@ static struct platform_driver dryice_rtc_driver = { .owner = THIS_MODULE, .of_match_table = of_match_ptr(dryice_dt_ids), }, - .remove = dryice_rtc_remove, + .remove = __exit_p(dryice_rtc_remove), }; static int __init dryice_rtc_init(void)