X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fisdn%2Fhysdn%2Fhycapi.c;h=4f639037f1f3489c36b0e46e7a88f99d664a671b;hb=9bf4aaab3e101692164d49b7ca357651eb691cb6;hp=f5fb795650b18484ac0760016e27b2603ee0b1b7;hpb=db216c3d5e4c040e557a50f8f5d35d5c415e8c1c;p=linux-2.6.git diff --git a/drivers/isdn/hysdn/hycapi.c b/drivers/isdn/hysdn/hycapi.c index f5fb79565..4f639037f 100644 --- a/drivers/isdn/hysdn/hycapi.c +++ b/drivers/isdn/hysdn/hycapi.c @@ -96,7 +96,7 @@ hycapi_remove_ctr(struct capi_ctr *ctrl) } } detach_capi_ctr(ctrl); - ctrl->driverdata = 0; + ctrl->driverdata = NULL; kfree(card->hyctrlinfo); @@ -678,7 +678,7 @@ attach the capi-driver to the kernel-capi. ***********************************************************/ -int hycapi_init() +int hycapi_init(void) { int i; for(i=0;i