aboutsummaryrefslogtreecommitdiff
path: root/drivers/block/paride/epia.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/block/paride/epia.c')
-rw-r--r--drivers/block/paride/epia.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/block/paride/epia.c b/drivers/block/paride/epia.c
index 0f2e0c292d8..fb0e782d055 100644
--- a/drivers/block/paride/epia.c
+++ b/drivers/block/paride/epia.c
@@ -303,12 +303,12 @@ static struct pi_protocol epia = {
static int __init epia_init(void)
{
- return pi_register(&epia)-1;
+ return paride_register(&epia);
}
static void __exit epia_exit(void)
{
- pi_unregister(&epia);
+ paride_unregister(&epia);
}
MODULE_LICENSE("GPL");