diff options
Diffstat (limited to 'drivers/block/paride/dstr.c')
-rw-r--r-- | drivers/block/paride/dstr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/block/paride/dstr.c b/drivers/block/paride/dstr.c index 04d53bf58e8c..accc5c777cbb 100644 --- a/drivers/block/paride/dstr.c +++ b/drivers/block/paride/dstr.c | |||
@@ -220,12 +220,12 @@ static struct pi_protocol dstr = { | |||
220 | 220 | ||
221 | static int __init dstr_init(void) | 221 | static int __init dstr_init(void) |
222 | { | 222 | { |
223 | return pi_register(&dstr)-1; | 223 | return paride_register(&dstr); |
224 | } | 224 | } |
225 | 225 | ||
226 | static void __exit dstr_exit(void) | 226 | static void __exit dstr_exit(void) |
227 | { | 227 | { |
228 | pi_unregister(&dstr); | 228 | paride_unregister(&dstr); |
229 | } | 229 | } |
230 | 230 | ||
231 | MODULE_LICENSE("GPL"); | 231 | MODULE_LICENSE("GPL"); |