diff options
author | Patrick McHardy <kaber@trash.net> | 2008-01-31 21:36:18 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-31 22:28:34 -0500 |
commit | 5239008b0de2507a531440b8c3019fb9c116fb1a (patch) | |
tree | 49f4580d2a0178182017b4a07640ac8d0f1c4112 /net/sched/cls_route.c | |
parent | 5396c9356efec1d3d818b786f69e081aaad4b98b (diff) |
[NET_SCHED]: Constify struct tcf_ext_map
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/cls_route.c')
-rw-r--r-- | net/sched/cls_route.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/cls_route.c b/net/sched/cls_route.c index f7e7d3955d28..784dcb870b98 100644 --- a/net/sched/cls_route.c +++ b/net/sched/cls_route.c | |||
@@ -62,7 +62,7 @@ struct route4_filter | |||
62 | 62 | ||
63 | #define ROUTE4_FAILURE ((struct route4_filter*)(-1L)) | 63 | #define ROUTE4_FAILURE ((struct route4_filter*)(-1L)) |
64 | 64 | ||
65 | static struct tcf_ext_map route_ext_map = { | 65 | static const struct tcf_ext_map route_ext_map = { |
66 | .police = TCA_ROUTE4_POLICE, | 66 | .police = TCA_ROUTE4_POLICE, |
67 | .action = TCA_ROUTE4_ACT | 67 | .action = TCA_ROUTE4_ACT |
68 | }; | 68 | }; |