diff options
author | David S. Miller <davem@davemloft.net> | 2010-12-21 13:26:15 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-12-21 13:26:15 -0800 |
commit | 503b1a529a6b62b31904bab4699752c523cf76b2 (patch) | |
tree | c78d1850e9409295ad720b56ceb0d28efe9d0e39 /drivers/net/skfp/smt.c | |
parent | 4b4f54670859074cf7670cc6fa96fe34a65846d9 (diff) | |
parent | 215faf9c5f6e319e97edea9e178123e07825c14d (diff) | |
download | linux-503b1a529a6b62b31904bab4699752c523cf76b2.tar.bz2 |
Merge branch '20101221_static_const' of git://repo.or.cz/linux-2.6/trivial-mods
Diffstat (limited to 'drivers/net/skfp/smt.c')
-rw-r--r-- | drivers/net/skfp/smt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/skfp/smt.c b/drivers/net/skfp/smt.c index 2d9941c045bc..1e1bd0c201c8 100644 --- a/drivers/net/skfp/smt.c +++ b/drivers/net/skfp/smt.c @@ -1263,7 +1263,7 @@ void smt_set_timestamp(struct s_smc *smc, u_char *p) static void smt_fill_policy(struct s_smc *smc, struct smt_p_policy *policy) { int i ; - u_char *map ; + const u_char *map ; u_short in ; u_short out ; @@ -1271,7 +1271,7 @@ static void smt_fill_policy(struct s_smc *smc, struct smt_p_policy *policy) * MIB para 101b (fddiSMTConnectionPolicy) coding * is different from 0005 coding */ - static u_char ansi_weirdness[16] = { + static const u_char ansi_weirdness[16] = { 0,7,5,3,8,1,6,4,9,10,2,11,12,13,14,15 } ; SMTSETPARA(policy,SMT_P_POLICY) ; |