diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2006-12-06 23:36:20 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-07 11:39:33 -0500 |
commit | f4330002d11f032559954cbff68a5cad95b6d27f (patch) | |
tree | 80e89bfdb2a9842592850270a6e825a277417484 /drivers/block/paride/kbic.c | |
parent | 3bd0f6943520e459659d10f3282285e43d3990f1 (diff) |
[PATCH] paride: rename pi_register() and pi_unregister()
We're about to change the semantics of pi_register()'s return value, so
rename it to something else first, so that any unconverted code reliaby
breaks.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/block/paride/kbic.c')
-rw-r--r-- | drivers/block/paride/kbic.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/block/paride/kbic.c b/drivers/block/paride/kbic.c index d983bcea76fe..a56328190276 100644 --- a/drivers/block/paride/kbic.c +++ b/drivers/block/paride/kbic.c | |||
@@ -283,13 +283,13 @@ static struct pi_protocol k971 = { | |||
283 | 283 | ||
284 | static int __init kbic_init(void) | 284 | static int __init kbic_init(void) |
285 | { | 285 | { |
286 | return (pi_register(&k951)||pi_register(&k971))-1; | 286 | return (paride_register(&k951)||paride_register(&k971))-1; |
287 | } | 287 | } |
288 | 288 | ||
289 | static void __exit kbic_exit(void) | 289 | static void __exit kbic_exit(void) |
290 | { | 290 | { |
291 | pi_unregister(&k951); | 291 | paride_unregister(&k951); |
292 | pi_unregister(&k971); | 292 | paride_unregister(&k971); |
293 | } | 293 | } |
294 | 294 | ||
295 | MODULE_LICENSE("GPL"); | 295 | MODULE_LICENSE("GPL"); |