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