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/bpck6.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/bpck6.c')
-rw-r--r-- | drivers/block/paride/bpck6.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/block/paride/bpck6.c b/drivers/block/paride/bpck6.c index 41a237c5957d..7c04f74f9d75 100644 --- a/drivers/block/paride/bpck6.c +++ b/drivers/block/paride/bpck6.c | |||
@@ -265,12 +265,12 @@ static int __init bpck6_init(void) | |||
265 | printk(KERN_INFO "bpck6: Copyright 2001 by Micro Solutions, Inc., DeKalb IL. USA\n"); | 265 | printk(KERN_INFO "bpck6: Copyright 2001 by Micro Solutions, Inc., DeKalb IL. USA\n"); |
266 | if(verbose) | 266 | if(verbose) |
267 | printk(KERN_DEBUG "bpck6: verbose debug enabled.\n"); | 267 | printk(KERN_DEBUG "bpck6: verbose debug enabled.\n"); |
268 | return pi_register(&bpck6) - 1; | 268 | return paride_register(&bpck6) - 1; |
269 | } | 269 | } |
270 | 270 | ||
271 | static void __exit bpck6_exit(void) | 271 | static void __exit bpck6_exit(void) |
272 | { | 272 | { |
273 | pi_unregister(&bpck6); | 273 | paride_unregister(&bpck6); |
274 | } | 274 | } |
275 | 275 | ||
276 | MODULE_LICENSE("GPL"); | 276 | MODULE_LICENSE("GPL"); |