diff options
Diffstat (limited to 'drivers/block/paride/comm.c')
-rw-r--r-- | drivers/block/paride/comm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/block/paride/comm.c b/drivers/block/paride/comm.c index 43d61359d8ec..9bcd35495323 100644 --- a/drivers/block/paride/comm.c +++ b/drivers/block/paride/comm.c | |||
@@ -205,12 +205,12 @@ static struct pi_protocol comm = { | |||
205 | 205 | ||
206 | static int __init comm_init(void) | 206 | static int __init comm_init(void) |
207 | { | 207 | { |
208 | return pi_register(&comm)-1; | 208 | return paride_register(&comm); |
209 | } | 209 | } |
210 | 210 | ||
211 | static void __exit comm_exit(void) | 211 | static void __exit comm_exit(void) |
212 | { | 212 | { |
213 | pi_unregister(&comm); | 213 | paride_unregister(&comm); |
214 | } | 214 | } |
215 | 215 | ||
216 | MODULE_LICENSE("GPL"); | 216 | MODULE_LICENSE("GPL"); |