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