summaryrefslogtreecommitdiff
path: root/drivers/block/paride/epat.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/block/paride/epat.c')
-rw-r--r--drivers/block/paride/epat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/block/paride/epat.c b/drivers/block/paride/epat.c
index 55d1c0a1fb90..1bcdff77322e 100644
--- a/drivers/block/paride/epat.c
+++ b/drivers/block/paride/epat.c
@@ -327,12 +327,12 @@ static int __init epat_init(void)
#ifdef CONFIG_PARIDE_EPATC8
epatc8 = 1;
#endif
- return pi_register(&epat)-1;
+ return paride_register(&epat);
}
static void __exit epat_exit(void)
{
- pi_unregister(&epat);
+ paride_unregister(&epat);
}
MODULE_LICENSE("GPL");