summaryrefslogtreecommitdiff
path: root/drivers/block/paride/epia.c
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2006-12-07 04:36:20 (GMT)
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-07 16:39:33 (GMT)
commitf4330002d11f032559954cbff68a5cad95b6d27f (patch)
tree80e89bfdb2a9842592850270a6e825a277417484 /drivers/block/paride/epia.c
parent3bd0f6943520e459659d10f3282285e43d3990f1 (diff)
downloadlinux-fsl-qoriq-f4330002d11f032559954cbff68a5cad95b6d27f.tar.xz
[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/epia.c')
-rw-r--r--drivers/block/paride/epia.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/block/paride/epia.c b/drivers/block/paride/epia.c
index 0f2e0c2..649766c 100644
--- a/drivers/block/paride/epia.c
+++ b/drivers/block/paride/epia.c
@@ -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");