[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>
This commit is contained in:
Alexey Dobriyan
2006-12-06 20:36:20 -08:00
committed by Linus Torvalds
parent 3bd0f69435
commit f4330002d1
17 changed files with 37 additions and 37 deletions
+2 -2
View File
@@ -303,12 +303,12 @@ static struct pi_protocol epia = {
static int __init epia_init(void)
{
return pi_register(&epia)-1;
return paride_register(&epia)-1;
}
static void __exit epia_exit(void)
{
pi_unregister(&epia);
paride_unregister(&epia);
}
MODULE_LICENSE("GPL");