You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
[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:
committed by
Linus Torvalds
parent
3bd0f69435
commit
f4330002d1
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user