diff options
author | Ben Dooks <ben-linux@fluff.org> | 2008-07-24 00:30:44 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-24 13:47:34 -0400 |
commit | 4cd0c5c40b64ef9fd94fb8382dade2fd28f2b935 (patch) | |
tree | d66b4af28b4d147bee1ca2a84401310fecdf077d /drivers/rtc/rtc-s3c.c | |
parent | 35d3fdd5f304c06654c940921fc045c60df34693 (diff) |
rtc: rtc-s3c: add __devexit and __devinit markers
Add the relevant __devinit and __devexit attributes to the rtc-s3c driver.
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Acked-by: Alessandro Zummo <a.zummo@towertech.it>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/rtc/rtc-s3c.c')
-rw-r--r-- | drivers/rtc/rtc-s3c.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/rtc/rtc-s3c.c b/drivers/rtc/rtc-s3c.c index fed86e507fdf..b81ba7020d92 100644 --- a/drivers/rtc/rtc-s3c.c +++ b/drivers/rtc/rtc-s3c.c | |||
@@ -430,7 +430,7 @@ static void s3c_rtc_enable(struct platform_device *pdev, int en) | |||
430 | } | 430 | } |
431 | } | 431 | } |
432 | 432 | ||
433 | static int s3c_rtc_remove(struct platform_device *dev) | 433 | static int __devexit s3c_rtc_remove(struct platform_device *dev) |
434 | { | 434 | { |
435 | struct rtc_device *rtc = platform_get_drvdata(dev); | 435 | struct rtc_device *rtc = platform_get_drvdata(dev); |
436 | 436 | ||
@@ -447,7 +447,7 @@ static int s3c_rtc_remove(struct platform_device *dev) | |||
447 | return 0; | 447 | return 0; |
448 | } | 448 | } |
449 | 449 | ||
450 | static int s3c_rtc_probe(struct platform_device *pdev) | 450 | static int __devinit s3c_rtc_probe(struct platform_device *pdev) |
451 | { | 451 | { |
452 | struct rtc_device *rtc; | 452 | struct rtc_device *rtc; |
453 | struct resource *res; | 453 | struct resource *res; |
@@ -560,7 +560,7 @@ static int s3c_rtc_resume(struct platform_device *pdev) | |||
560 | 560 | ||
561 | static struct platform_driver s3c2410_rtcdrv = { | 561 | static struct platform_driver s3c2410_rtcdrv = { |
562 | .probe = s3c_rtc_probe, | 562 | .probe = s3c_rtc_probe, |
563 | .remove = s3c_rtc_remove, | 563 | .remove = __devexit_p(s3c_rtc_remove), |
564 | .suspend = s3c_rtc_suspend, | 564 | .suspend = s3c_rtc_suspend, |
565 | .resume = s3c_rtc_resume, | 565 | .resume = s3c_rtc_resume, |
566 | .driver = { | 566 | .driver = { |