From: Adrian Bunk Date: Thu, 24 Jul 2008 23:55:49 +0000 (+0300) Subject: fix fs/nfs/nfsroot.c compilation X-Git-Tag: v2.6.27-rc1~506 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb2e405fc1fc8b20d9c78eaa1c7fd5a297efde43;p=linux-2.6 fix fs/nfs/nfsroot.c compilation This fixes the following compile error caused by commit f9247273cb69ba101877e946d2d83044409cc8c5 ("UFS: add const to parser token table"): CC fs/nfs/nfsroot.o /home/bunk/linux/kernel-2.6/git/linux-2.6/fs/nfs/nfsroot.c:130: error: tokens causes a section type conflict make[3]: *** [fs/nfs/nfsroot.o] Error 1 Signed-off-by: Adrian Bunk Signed-off-by: Linus Torvalds --- diff --git a/fs/nfs/nfsroot.c b/fs/nfs/nfsroot.c index 46763d1cd3..8478fc25da 100644 --- a/fs/nfs/nfsroot.c +++ b/fs/nfs/nfsroot.c @@ -127,7 +127,7 @@ enum { Opt_err }; -static match_table_t __initdata tokens = { +static match_table_t __initconst tokens = { {Opt_port, "port=%u"}, {Opt_rsize, "rsize=%u"}, {Opt_wsize, "wsize=%u"},