Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Axel Lin and committed by
Guan Xuetao
66ae4560 63c95fa4

+2 -2
+2 -2
drivers/rtc/rtc-puv3.c
··· 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 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;