rtc: rtc-puv3: Add __devinit and __devexit markers for probe and remove
authorAxel Lin <axel.lin@gmail.com>
Wed, 5 Oct 2011 14:29:47 +0000 (22:29 +0800)
committerGuan Xuetao <gxt@mprc.pku.edu.cn>
Tue, 15 Nov 2011 09:13:17 +0000 (17:13 +0800)
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Guan Xuetao <gxt@mprc.pku.edu.cn>
drivers/rtc/rtc-puv3.c

index b3eba3c..e4b6880 100644 (file)
@@ -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;