Skip to content

Commit

Permalink
rtc: rtc-puv3: Add __devinit and __devexit markers for probe and remove
Browse files Browse the repository at this point in the history
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Guan Xuetao <gxt@mprc.pku.edu.cn>
  • Loading branch information
Axel Lin authored and Guan Xuetao committed Nov 15, 2011
1 parent 63c95fa commit 66ae456
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/rtc/rtc-puv3.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand All @@ -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;
Expand Down

0 comments on commit 66ae456

Please sign in to comment.