diff options
Diffstat (limited to 'drivers/watchdog/wm8350_wdt.c')
-rw-r--r-- | drivers/watchdog/wm8350_wdt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/watchdog/wm8350_wdt.c b/drivers/watchdog/wm8350_wdt.c index 2bc0d4d4b415..a2d2e8eb2282 100644 --- a/drivers/watchdog/wm8350_wdt.c +++ b/drivers/watchdog/wm8350_wdt.c | |||
@@ -279,7 +279,7 @@ static struct miscdevice wm8350_wdt_miscdev = { | |||
279 | .fops = &wm8350_wdt_fops, | 279 | .fops = &wm8350_wdt_fops, |
280 | }; | 280 | }; |
281 | 281 | ||
282 | static int wm8350_wdt_probe(struct platform_device *pdev) | 282 | static int __devinit wm8350_wdt_probe(struct platform_device *pdev) |
283 | { | 283 | { |
284 | struct wm8350 *wm8350 = platform_get_drvdata(pdev); | 284 | struct wm8350 *wm8350 = platform_get_drvdata(pdev); |
285 | 285 | ||
@@ -296,7 +296,7 @@ static int wm8350_wdt_probe(struct platform_device *pdev) | |||
296 | return misc_register(&wm8350_wdt_miscdev); | 296 | return misc_register(&wm8350_wdt_miscdev); |
297 | } | 297 | } |
298 | 298 | ||
299 | static int __exit wm8350_wdt_remove(struct platform_device *pdev) | 299 | static int __devexit wm8350_wdt_remove(struct platform_device *pdev) |
300 | { | 300 | { |
301 | misc_deregister(&wm8350_wdt_miscdev); | 301 | misc_deregister(&wm8350_wdt_miscdev); |
302 | 302 | ||
@@ -305,7 +305,7 @@ static int __exit wm8350_wdt_remove(struct platform_device *pdev) | |||
305 | 305 | ||
306 | static struct platform_driver wm8350_wdt_driver = { | 306 | static struct platform_driver wm8350_wdt_driver = { |
307 | .probe = wm8350_wdt_probe, | 307 | .probe = wm8350_wdt_probe, |
308 | .remove = wm8350_wdt_remove, | 308 | .remove = __devexit_p(wm8350_wdt_remove), |
309 | .driver = { | 309 | .driver = { |
310 | .name = "wm8350-wdt", | 310 | .name = "wm8350-wdt", |
311 | }, | 311 | }, |