summaryrefslogtreecommitdiff
path: root/drivers/block/paride/ktti.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/block/paride/ktti.c')
-rw-r--r--drivers/block/paride/ktti.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/block/paride/ktti.c b/drivers/block/paride/ktti.c
index 6c7edbfba9a0..117ab0e8ccf0 100644
--- a/drivers/block/paride/ktti.c
+++ b/drivers/block/paride/ktti.c
@@ -115,12 +115,12 @@ static struct pi_protocol ktti = {
static int __init ktti_init(void)
{
- return pi_register(&ktti)-1;
+ return paride_register(&ktti);
}
static void __exit ktti_exit(void)
{
- pi_unregister(&ktti);
+ paride_unregister(&ktti);
}
MODULE_LICENSE("GPL");