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/fit3.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/fit3.c')
-rw-r--r-- | drivers/block/paride/fit3.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/block/paride/fit3.c b/drivers/block/paride/fit3.c index 15400e7bc666..c701577d15aa 100644 --- a/drivers/block/paride/fit3.c +++ b/drivers/block/paride/fit3.c | |||
@@ -198,12 +198,12 @@ static struct pi_protocol fit3 = { | |||
198 | 198 | ||
199 | static int __init fit3_init(void) | 199 | static int __init fit3_init(void) |
200 | { | 200 | { |
201 | return pi_register(&fit3)-1; | 201 | return paride_register(&fit3)-1; |
202 | } | 202 | } |
203 | 203 | ||
204 | static void __exit fit3_exit(void) | 204 | static void __exit fit3_exit(void) |
205 | { | 205 | { |
206 | pi_unregister(&fit3); | 206 | paride_unregister(&fit3); |
207 | } | 207 | } |
208 | 208 | ||
209 | MODULE_LICENSE("GPL"); | 209 | MODULE_LICENSE("GPL"); |