X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fnet%2Fsk98lin%2Fsktimer.c;h=4e462955ecd88efcfb7c80a9dbd780b3945512ff;hb=9bf4aaab3e101692164d49b7ca357651eb691cb6;hp=68117a41282a9bb44d6ab5e67ac9dadf16e09357;hpb=db216c3d5e4c040e557a50f8f5d35d5c415e8c1c;p=linux-2.6.git diff --git a/drivers/net/sk98lin/sktimer.c b/drivers/net/sk98lin/sktimer.c index 68117a412..4e462955e 100644 --- a/drivers/net/sk98lin/sktimer.c +++ b/drivers/net/sk98lin/sktimer.c @@ -62,7 +62,7 @@ int Level) /* Init Level */ { switch (Level) { case SK_INIT_DATA: - pAC->Tim.StQueue = 0; + pAC->Tim.StQueue = NULL; break; case SK_INIT_IO: SkHwtInit(pAC, Ioc); @@ -145,7 +145,7 @@ SK_EVPARA Para) /* Event Parameter for this timer */ if (!pAC->Tim.StQueue) { /* First Timer to be started */ pAC->Tim.StQueue = pTimer; - pTimer->TmNext = 0; + pTimer->TmNext = NULL; pTimer->TmDelta = Time; SkHwtStart(pAC, Ioc, Time); @@ -228,7 +228,7 @@ int Restart) /* Do we need to restart the Hardware timer ? */ Done = 1; } } - *ppLast = 0; + *ppLast = NULL; /* * pTm points to the first Timer that did not run out. * StQueue points to the first Timer that run out.