diff options
Diffstat (limited to 'drivers/ide/ide-pnp.c')
-rw-r--r-- | drivers/ide/ide-pnp.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/drivers/ide/ide-pnp.c b/drivers/ide/ide-pnp.c index 802efd4d9760..cbbb0f75be92 100644 --- a/drivers/ide/ide-pnp.c +++ b/drivers/ide/ide-pnp.c | |||
@@ -75,12 +75,15 @@ static struct pnp_driver idepnp_driver = { | |||
75 | .remove = idepnp_remove, | 75 | .remove = idepnp_remove, |
76 | }; | 76 | }; |
77 | 77 | ||
78 | void __init pnpide_init(void) | 78 | static int __init pnpide_init(void) |
79 | { | 79 | { |
80 | pnp_register_driver(&idepnp_driver); | 80 | return pnp_register_driver(&idepnp_driver); |
81 | } | 81 | } |
82 | 82 | ||
83 | void __exit pnpide_exit(void) | 83 | static void __exit pnpide_exit(void) |
84 | { | 84 | { |
85 | pnp_unregister_driver(&idepnp_driver); | 85 | pnp_unregister_driver(&idepnp_driver); |
86 | } | 86 | } |
87 | |||
88 | module_init(pnpide_init); | ||
89 | module_exit(pnpide_exit); | ||