diff options
Diffstat (limited to 'drivers/block/paride/bpck.c')
-rw-r--r-- | drivers/block/paride/bpck.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/block/paride/bpck.c b/drivers/block/paride/bpck.c index d462ff6b139d..4f27e7392e38 100644 --- a/drivers/block/paride/bpck.c +++ b/drivers/block/paride/bpck.c | |||
@@ -464,12 +464,12 @@ static struct pi_protocol bpck = { | |||
464 | 464 | ||
465 | static int __init bpck_init(void) | 465 | static int __init bpck_init(void) |
466 | { | 466 | { |
467 | return pi_register(&bpck)-1; | 467 | return paride_register(&bpck); |
468 | } | 468 | } |
469 | 469 | ||
470 | static void __exit bpck_exit(void) | 470 | static void __exit bpck_exit(void) |
471 | { | 471 | { |
472 | pi_unregister(&bpck); | 472 | paride_unregister(&bpck); |
473 | } | 473 | } |
474 | 474 | ||
475 | MODULE_LICENSE("GPL"); | 475 | MODULE_LICENSE("GPL"); |