lib/decompress.c: fix initconst
authorAndi Kleen <andi@firstfloor.org>
Tue, 30 Apr 2013 22:28:50 +0000 (15:28 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 1 May 2013 00:04:09 +0000 (17:04 -0700)
Signed-off-by: Andi Kleen <andi@firstfloor.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/decompress.c

index 31a8042772820d695b85dc15edfb33f57666b0db..f8fdedaf7b3de836e5478f61d4c354c0e9ec39d2 100644 (file)
@@ -38,7 +38,7 @@ struct compress_format {
        decompress_fn decompressor;
 };
 
-static const struct compress_format compressed_formats[] __initdata = {
+static const struct compress_format compressed_formats[] __initconst = {
        { {037, 0213}, "gzip", gunzip },
        { {037, 0236}, "gzip", gunzip },
        { {0x42, 0x5a}, "bzip2", bunzip2 },