Commit 66ae45604c90f25397294099cdb214f642471327

Authored by Axel Lin
Committed by Guan Xuetao
1 parent 63c95fa414

rtc: rtc-puv3: Add __devinit and __devexit markers for probe and remove

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Guan Xuetao <gxt@mprc.pku.edu.cn>

Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff

drivers/rtc/rtc-puv3.c
... ... @@ -220,7 +220,7 @@
220 220 }
221 221 }
222 222  
223   -static int puv3_rtc_remove(struct platform_device *dev)
  223 +static int __devexit puv3_rtc_remove(struct platform_device *dev)
224 224 {
225 225 struct rtc_device *rtc = platform_get_drvdata(dev);
226 226  
... ... @@ -236,7 +236,7 @@
236 236 return 0;
237 237 }
238 238  
239   -static int puv3_rtc_probe(struct platform_device *pdev)
  239 +static int __devinit puv3_rtc_probe(struct platform_device *pdev)
240 240 {
241 241 struct rtc_device *rtc;
242 242 struct resource *res;