Skip to content

Commit

Permalink
fix fs/nfs/nfsroot.c compilation
Browse files Browse the repository at this point in the history
This fixes the following compile error caused by commit
f924727 ("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 <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
AdrianBunk authored and torvalds committed Jul 25, 2008
1 parent 4b9f12a commit fb2e405
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/nfs/nfsroot.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"},
Expand Down

0 comments on commit fb2e405

Please sign in to comment.