Skip to content

Commit

Permalink
fix fs/nfs/nfsroot.c compilation
Browse files Browse the repository at this point in the history
This patch fixes the following compile error caused by
commit f924727
(UFS: add const to parser token tabl):

<--  snip  -->

...
  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

<--  snip  -->

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
  • Loading branch information
Adrian Bunk authored and Trond Myklebust committed Oct 7, 2008
1 parent 691beb1 commit bb8a3b5
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 bb8a3b5

Please sign in to comment.