X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fblock%2Fparide%2Fon20.c;h=0173697a1a4d5d9d474f14553e3d350ec0195b7e;hb=a2f44b27303a5353859d77a3e96a1d3f33f56ab7;hp=9f8e01096809aaf069971adb7ca9a003caa97b1e;hpb=134734d875a0a48d994ef20b9905209b4b8b6f75;p=linux-2.6.git diff --git a/drivers/block/paride/on20.c b/drivers/block/paride/on20.c index 9f8e01096..0173697a1 100644 --- a/drivers/block/paride/on20.c +++ b/drivers/block/paride/on20.c @@ -140,12 +140,12 @@ static struct pi_protocol on20 = { static int __init on20_init(void) { - return pi_register(&on20)-1; + return paride_register(&on20); } static void __exit on20_exit(void) { - pi_unregister(&on20); + paride_unregister(&on20); } MODULE_LICENSE("GPL");