aboutsummaryrefslogtreecommitdiffstats
path: root/net/irda/qos.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/irda/qos.c')
-rw-r--r--net/irda/qos.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/irda/qos.c b/net/irda/qos.c
index 5ed6c9a7baee..25ba8509ad3e 100644
--- a/net/irda/qos.c
+++ b/net/irda/qos.c
@@ -122,7 +122,7 @@ static __u32 max_line_capacities[10][4] = {
122 { 800000, 400000, 160000, 80000 }, /* 16000000 bps */ 122 { 800000, 400000, 160000, 80000 }, /* 16000000 bps */
123}; 123};
124 124
125static pi_minor_info_t pi_minor_call_table_type_0[] = { 125static const pi_minor_info_t pi_minor_call_table_type_0[] = {
126 { NULL, 0 }, 126 { NULL, 0 },
127/* 01 */{ irlap_param_baud_rate, PV_INTEGER | PV_LITTLE_ENDIAN }, 127/* 01 */{ irlap_param_baud_rate, PV_INTEGER | PV_LITTLE_ENDIAN },
128 { NULL, 0 }, 128 { NULL, 0 },
@@ -134,7 +134,7 @@ static pi_minor_info_t pi_minor_call_table_type_0[] = {
134/* 08 */{ irlap_param_link_disconnect, PV_INT_8_BITS } 134/* 08 */{ irlap_param_link_disconnect, PV_INT_8_BITS }
135}; 135};
136 136
137static pi_minor_info_t pi_minor_call_table_type_1[] = { 137static const pi_minor_info_t pi_minor_call_table_type_1[] = {
138 { NULL, 0 }, 138 { NULL, 0 },
139 { NULL, 0 }, 139 { NULL, 0 },
140/* 82 */{ irlap_param_max_turn_time, PV_INT_8_BITS }, 140/* 82 */{ irlap_param_max_turn_time, PV_INT_8_BITS },
@@ -144,7 +144,7 @@ static pi_minor_info_t pi_minor_call_table_type_1[] = {
144/* 86 */{ irlap_param_min_turn_time, PV_INT_8_BITS }, 144/* 86 */{ irlap_param_min_turn_time, PV_INT_8_BITS },
145}; 145};
146 146
147static pi_major_info_t pi_major_call_table[] = { 147static const pi_major_info_t pi_major_call_table[] = {
148 { pi_minor_call_table_type_0, 9 }, 148 { pi_minor_call_table_type_0, 9 },
149 { pi_minor_call_table_type_1, 7 }, 149 { pi_minor_call_table_type_1, 7 },
150}; 150};