提交 fb2e405f 编写于 作者: A Adrian Bunk 提交者: Linus Torvalds

fix fs/nfs/nfsroot.c compilation

This fixes the following compile error caused by commit
f9247273 ("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: NAdrian Bunk <bunk@kernel.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 4b9f12a3
...@@ -127,7 +127,7 @@ enum { ...@@ -127,7 +127,7 @@ enum {
Opt_err Opt_err
}; };
static match_table_t __initdata tokens = { static match_table_t __initconst tokens = {
{Opt_port, "port=%u"}, {Opt_port, "port=%u"},
{Opt_rsize, "rsize=%u"}, {Opt_rsize, "rsize=%u"},
{Opt_wsize, "wsize=%u"}, {Opt_wsize, "wsize=%u"},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册