summaryrefslogtreecommitdiffstats
path: root/drivers/block/paride/fit3.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/block/paride/fit3.c')
-rw-r--r--drivers/block/paride/fit3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/block/paride/fit3.c b/drivers/block/paride/fit3.c
index 15400e7bc66..275d269458e 100644
--- a/drivers/block/paride/fit3.c
+++ b/drivers/block/paride/fit3.c
@@ -198,12 +198,12 @@ static struct pi_protocol fit3 = {
static int __init fit3_init(void)
{
- return pi_register(&fit3)-1;
+ return paride_register(&fit3);
}
static void __exit fit3_exit(void)
{
- pi_unregister(&fit3);
+ paride_unregister(&fit3);
}
MODULE_LICENSE("GPL");