diff options
Diffstat (limited to 'drivers/input/keyboard/spitzkbd.c')
-rw-r--r-- | drivers/input/keyboard/spitzkbd.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/input/keyboard/spitzkbd.c b/drivers/input/keyboard/spitzkbd.c index 9a7371c93b3f..13967422658c 100644 --- a/drivers/input/keyboard/spitzkbd.c +++ b/drivers/input/keyboard/spitzkbd.c | |||
@@ -341,7 +341,7 @@ static int spitzkbd_resume(struct platform_device *dev) | |||
341 | #define spitzkbd_resume NULL | 341 | #define spitzkbd_resume NULL |
342 | #endif | 342 | #endif |
343 | 343 | ||
344 | static int __init spitzkbd_probe(struct platform_device *dev) | 344 | static int __devinit spitzkbd_probe(struct platform_device *dev) |
345 | { | 345 | { |
346 | struct spitzkbd *spitzkbd; | 346 | struct spitzkbd *spitzkbd; |
347 | struct input_dev *input_dev; | 347 | struct input_dev *input_dev; |
@@ -442,7 +442,7 @@ static int __init spitzkbd_probe(struct platform_device *dev) | |||
442 | return err; | 442 | return err; |
443 | } | 443 | } |
444 | 444 | ||
445 | static int spitzkbd_remove(struct platform_device *dev) | 445 | static int __devexit spitzkbd_remove(struct platform_device *dev) |
446 | { | 446 | { |
447 | int i; | 447 | int i; |
448 | struct spitzkbd *spitzkbd = platform_get_drvdata(dev); | 448 | struct spitzkbd *spitzkbd = platform_get_drvdata(dev); |
@@ -468,7 +468,7 @@ static int spitzkbd_remove(struct platform_device *dev) | |||
468 | 468 | ||
469 | static struct platform_driver spitzkbd_driver = { | 469 | static struct platform_driver spitzkbd_driver = { |
470 | .probe = spitzkbd_probe, | 470 | .probe = spitzkbd_probe, |
471 | .remove = spitzkbd_remove, | 471 | .remove = __devexit_p(spitzkbd_remove), |
472 | .suspend = spitzkbd_suspend, | 472 | .suspend = spitzkbd_suspend, |
473 | .resume = spitzkbd_resume, | 473 | .resume = spitzkbd_resume, |
474 | .driver = { | 474 | .driver = { |
@@ -477,7 +477,7 @@ static struct platform_driver spitzkbd_driver = { | |||
477 | }, | 477 | }, |
478 | }; | 478 | }; |
479 | 479 | ||
480 | static int __devinit spitzkbd_init(void) | 480 | static int __init spitzkbd_init(void) |
481 | { | 481 | { |
482 | return platform_driver_register(&spitzkbd_driver); | 482 | return platform_driver_register(&spitzkbd_driver); |
483 | } | 483 | } |