]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/isdn/hardware/avm/t1isa.c
pcmcia: use pcmcia_loop_config in ISDN pcmcia drivers
[linux-2.6-omap-h63xx.git] / drivers / isdn / hardware / avm / t1isa.c
index 6130724e46e775a98e9f37621d9aa4533eb2c553..e7724493738c4673f14d49c039e94f28c9e3ada8 100644 (file)
@@ -551,9 +551,9 @@ static int __init t1isa_init(void)
        char *p;
        int i;
 
-       if ((p = strchr(revision, ':')) != 0 && p[1]) {
+       if ((p = strchr(revision, ':')) != NULL && p[1]) {
                strlcpy(rev, p + 2, 32);
-               if ((p = strchr(rev, '$')) != 0 && p > rev)
+               if ((p = strchr(rev, '$')) != NULL && p > rev)
                   *(p-1) = 0;
        } else
                strcpy(rev, "1.0");