aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/skfp/smt.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/skfp/smt.c')
-rw-r--r--drivers/net/skfp/smt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/skfp/smt.c b/drivers/net/skfp/smt.c
index 2d9941c045b..1e1bd0c201c 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)
1263static void smt_fill_policy(struct s_smc *smc, struct smt_p_policy *policy) 1263static void smt_fill_policy(struct s_smc *smc, struct smt_p_policy *policy)
1264{ 1264{
1265 int i ; 1265 int i ;
1266 u_char *map ; 1266 const u_char *map ;
1267 u_short in ; 1267 u_short in ;
1268 u_short out ; 1268 u_short out ;
1269 1269
@@ -1271,7 +1271,7 @@ static void smt_fill_policy(struct s_smc *smc, struct smt_p_policy *policy)
1271 * MIB para 101b (fddiSMTConnectionPolicy) coding 1271 * MIB para 101b (fddiSMTConnectionPolicy) coding
1272 * is different from 0005 coding 1272 * is different from 0005 coding
1273 */ 1273 */
1274 static u_char ansi_weirdness[16] = { 1274 static const u_char ansi_weirdness[16] = {
1275 0,7,5,3,8,1,6,4,9,10,2,11,12,13,14,15 1275 0,7,5,3,8,1,6,4,9,10,2,11,12,13,14,15
1276 } ; 1276 } ;
1277 SMTSETPARA(policy,SMT_P_POLICY) ; 1277 SMTSETPARA(policy,SMT_P_POLICY) ;