diff options
Diffstat (limited to 'drivers/block/paride/ktti.c')
-rw-r--r-- | drivers/block/paride/ktti.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/block/paride/ktti.c b/drivers/block/paride/ktti.c index 6c7edbfba9a0..117ab0e8ccf0 100644 --- a/drivers/block/paride/ktti.c +++ b/drivers/block/paride/ktti.c | |||
@@ -115,12 +115,12 @@ static struct pi_protocol ktti = { | |||
115 | 115 | ||
116 | static int __init ktti_init(void) | 116 | static int __init ktti_init(void) |
117 | { | 117 | { |
118 | return pi_register(&ktti)-1; | 118 | return paride_register(&ktti); |
119 | } | 119 | } |
120 | 120 | ||
121 | static void __exit ktti_exit(void) | 121 | static void __exit ktti_exit(void) |
122 | { | 122 | { |
123 | pi_unregister(&ktti); | 123 | paride_unregister(&ktti); |
124 | } | 124 | } |
125 | 125 | ||
126 | MODULE_LICENSE("GPL"); | 126 | MODULE_LICENSE("GPL"); |