]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - kernel/printk.c
printk: fixup declaration of kmsg_reasons
[net-next-2.6.git] / kernel / printk.c
index 2531017795f63e7d9c60d1db976e2b227c98ffda..d18933a92819e85e441d367340538192b02b600f 100644 (file)
@@ -1511,7 +1511,7 @@ int kmsg_dump_unregister(struct kmsg_dumper *dumper)
 }
 EXPORT_SYMBOL_GPL(kmsg_dump_unregister);
 
-static const char const *kmsg_reasons[] = {
+static const char * const kmsg_reasons[] = {
        [KMSG_DUMP_OOPS]        = "oops",
        [KMSG_DUMP_PANIC]       = "panic",
        [KMSG_DUMP_KEXEC]       = "kexec",