diff options
Diffstat (limited to 'drivers/block/paride/friq.c')
-rw-r--r-- | drivers/block/paride/friq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/block/paride/friq.c b/drivers/block/paride/friq.c index 5ea2904d2815..4f2ba244689b 100644 --- a/drivers/block/paride/friq.c +++ b/drivers/block/paride/friq.c | |||
@@ -263,12 +263,12 @@ static struct pi_protocol friq = { | |||
263 | 263 | ||
264 | static int __init friq_init(void) | 264 | static int __init friq_init(void) |
265 | { | 265 | { |
266 | return pi_register(&friq)-1; | 266 | return paride_register(&friq); |
267 | } | 267 | } |
268 | 268 | ||
269 | static void __exit friq_exit(void) | 269 | static void __exit friq_exit(void) |
270 | { | 270 | { |
271 | pi_unregister(&friq); | 271 | paride_unregister(&friq); |
272 | } | 272 | } |
273 | 273 | ||
274 | MODULE_LICENSE("GPL"); | 274 | MODULE_LICENSE("GPL"); |