aboutsummaryrefslogtreecommitdiff
path: root/drivers/block/paride/friq.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/block/paride/friq.c')
-rw-r--r--drivers/block/paride/friq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/block/paride/friq.c b/drivers/block/paride/friq.c
index 5ea2904d281..4f2ba244689 100644
--- a/drivers/block/paride/friq.c
+++ b/drivers/block/paride/friq.c
@@ -263,12 +263,12 @@ static struct pi_protocol friq = {
static int __init friq_init(void)
{
- return pi_register(&friq)-1;
+ return paride_register(&friq);
}
static void __exit friq_exit(void)
{
- pi_unregister(&friq);
+ paride_unregister(&friq);
}
MODULE_LICENSE("GPL");