X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=drivers%2Fblock%2Fparide%2Fon26.c;h=95ba256921f20c128a4a676c4ad405bfc1cdc1aa;hb=7a834ba5e26e9e4afabf3cce9ca8cd1c6c3dce50;hp=0f833caa210136376b4cf7ff716545cc40bbf1e8;hpb=d42510a0f58c2583c37c8e9b7548e3a68545863a;p=firefly-linux-kernel-4.4.55.git diff --git a/drivers/block/paride/on26.c b/drivers/block/paride/on26.c index 0f833caa2101..95ba256921f2 100644 --- a/drivers/block/paride/on26.c +++ b/drivers/block/paride/on26.c @@ -306,12 +306,12 @@ static struct pi_protocol on26 = { static int __init on26_init(void) { - return pi_register(&on26)-1; + return paride_register(&on26); } static void __exit on26_exit(void) { - pi_unregister(&on26); + paride_unregister(&on26); } MODULE_LICENSE("GPL");