summaryrefslogtreecommitdiffstats
path: root/drivers/block/paride/comm.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/block/paride/comm.c')
-rw-r--r--drivers/block/paride/comm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/block/paride/comm.c b/drivers/block/paride/comm.c
index 43d61359d8e..9bcd3549532 100644
--- a/drivers/block/paride/comm.c
+++ b/drivers/block/paride/comm.c
@@ -205,12 +205,12 @@ static struct pi_protocol comm = {
static int __init comm_init(void)
{
- return pi_register(&comm)-1;
+ return paride_register(&comm);
}
static void __exit comm_exit(void)
{
- pi_unregister(&comm);
+ paride_unregister(&comm);
}
MODULE_LICENSE("GPL");