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/epat.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/epat.c')
-rw-r--r-- | drivers/block/paride/epat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/block/paride/epat.c b/drivers/block/paride/epat.c index 55d1c0a1fb90..5ed4fc1a00bf 100644 --- a/drivers/block/paride/epat.c +++ b/drivers/block/paride/epat.c | |||
@@ -327,12 +327,12 @@ static int __init epat_init(void) | |||
327 | #ifdef CONFIG_PARIDE_EPATC8 | 327 | #ifdef CONFIG_PARIDE_EPATC8 |
328 | epatc8 = 1; | 328 | epatc8 = 1; |
329 | #endif | 329 | #endif |
330 | return pi_register(&epat)-1; | 330 | return paride_register(&epat)-1; |
331 | } | 331 | } |
332 | 332 | ||
333 | static void __exit epat_exit(void) | 333 | static void __exit epat_exit(void) |
334 | { | 334 | { |
335 | pi_unregister(&epat); | 335 | paride_unregister(&epat); |
336 | } | 336 | } |
337 | 337 | ||
338 | MODULE_LICENSE("GPL"); | 338 | MODULE_LICENSE("GPL"); |