lib/decompress.c: fix initconst
Andi Kleen [Tue, 30 Apr 2013 22:28:50 +0000 (15:28 -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 31a8042..f8fdeda 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 },