summaryrefslogtreecommitdiffstats
path: root/drivers/block/paride/on20.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/block/paride/on20.c')
-rw-r--r--drivers/block/paride/on20.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/block/paride/on20.c b/drivers/block/paride/on20.c
index 9f8e010..0173697 100644
--- a/drivers/block/paride/on20.c
+++ b/drivers/block/paride/on20.c
@@ -140,12 +140,12 @@ static struct pi_protocol on20 = {
static int __init on20_init(void)
{
- return pi_register(&on20)-1;
+ return paride_register(&on20);
}
static void __exit on20_exit(void)
{
- pi_unregister(&on20);
+ paride_unregister(&on20);
}
MODULE_LICENSE("GPL");
OpenPOWER on IntegriCloud