aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/parser.h
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2008-07-24 12:22:13 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-24 14:50:15 -0400
commitf9247273cb69ba101877e946d2d83044409cc8c5 (patch)
treee173999eddfa9954550f221730feb8c03ebfc743 /include/linux/parser.h
parentb340e8a57ef381e69c99a7a8ede61a6bf71a8014 (diff)
UFS: add const to parser token table
This patch adds a "const" to the parser token table. I've done an allmodconfig build to see if this produces any warnings/failures and the patch includes a fix for the only warning that was produced. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com> Acked-by: Alexander Viro <aviro@redhat.com> Acked-by: Evgeniy Dushistov <dushistov@mail.ru> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/parser.h')
-rw-r--r--include/linux/parser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/parser.h b/include/linux/parser.h
index 7dcd05075756..cc554ca8bc78 100644
--- a/include/linux/parser.h
+++ b/include/linux/parser.h
@@ -14,7 +14,7 @@ struct match_token {
14 const char *pattern; 14 const char *pattern;
15}; 15};
16 16
17typedef struct match_token match_table_t[]; 17typedef const struct match_token match_table_t[];
18 18
19/* Maximum number of arguments that match_token will find in a pattern */ 19/* Maximum number of arguments that match_token will find in a pattern */
20enum {MAX_OPT_ARGS = 3}; 20enum {MAX_OPT_ARGS = 3};