X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=sound%2Foss%2Fkahlua.c;h=eb9bc365530dde4107f1cf4f9de102bd66dac59b;hb=fca515fbfa5ecd9f7b54db311317e2c877d7831a;hp=dfe670f12e67d71117904db746c2a2b8e87af10d;hpb=3159f06dc2303630c02d1ad2eeaeaf341414c9df;p=linux-2.6-omap-h63xx.git diff --git a/sound/oss/kahlua.c b/sound/oss/kahlua.c index dfe670f12e6..eb9bc365530 100644 --- a/sound/oss/kahlua.c +++ b/sound/oss/kahlua.c @@ -67,7 +67,7 @@ static int __devinit probe_one(struct pci_dev *pdev, const struct pci_device_id return 1; mem = ioremap(base, 128); - if(mem == 0UL) + if (!mem) return 1; map = readw(mem + 0x18); /* Read the SMI enables */ iounmap(mem);