diff options
Diffstat (limited to 'drivers/block/paride/on26.c')
-rw-r--r-- | drivers/block/paride/on26.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/block/paride/on26.c b/drivers/block/paride/on26.c index 0f833caa2101..95ba256921f2 100644 --- a/drivers/block/paride/on26.c +++ b/drivers/block/paride/on26.c | |||
@@ -306,12 +306,12 @@ static struct pi_protocol on26 = { | |||
306 | 306 | ||
307 | static int __init on26_init(void) | 307 | static int __init on26_init(void) |
308 | { | 308 | { |
309 | return pi_register(&on26)-1; | 309 | return paride_register(&on26); |
310 | } | 310 | } |
311 | 311 | ||
312 | static void __exit on26_exit(void) | 312 | static void __exit on26_exit(void) |
313 | { | 313 | { |
314 | pi_unregister(&on26); | 314 | paride_unregister(&on26); |
315 | } | 315 | } |
316 | 316 | ||
317 | MODULE_LICENSE("GPL"); | 317 | MODULE_LICENSE("GPL"); |