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