]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - lib/decompress.c
Merge branch 'omap-clock-fixes' of git://git.pwsan.com/linux-2.6
[linux-2.6-omap-h63xx.git] / lib / decompress.c
index 961f367320fc13231d53bfe63df8654370f4ada9..d2842f57167446e0221352035a2276b87318ea4b 100644 (file)
@@ -43,7 +43,7 @@ decompress_fn decompress_method(const unsigned char *inbuf, int len,
        if (len < 2)
                return NULL;    /* Need at least this much... */
 
-       for (cf = compressed_formats; cf->decompressor; cf++) {
+       for (cf = compressed_formats; cf->name; cf++) {
                if (!memcmp(inbuf, cf->magic, 2))
                        break;