aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi_transport_fc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/scsi_transport_fc.c')
-rw-r--r--drivers/scsi/scsi_transport_fc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/scsi/scsi_transport_fc.c b/drivers/scsi/scsi_transport_fc.c
index 2a1a99a2ef56..685b997306cf 100644
--- a/drivers/scsi/scsi_transport_fc.c
+++ b/drivers/scsi/scsi_transport_fc.c
@@ -112,7 +112,7 @@ fc_enum_name_search(port_state, fc_port_state, fc_port_state_names)
112 112
113 113
114/* Convert fc_tgtid_binding_type values to ascii string name */ 114/* Convert fc_tgtid_binding_type values to ascii string name */
115static struct { 115static const struct {
116 enum fc_tgtid_binding_type value; 116 enum fc_tgtid_binding_type value;
117 char *name; 117 char *name;
118 int matchlen; 118 int matchlen;
@@ -150,7 +150,7 @@ get_fc_##title##_names(u32 table_key, char *buf) \
150 150
151 151
152/* Convert FC_COS bit values to ascii string name */ 152/* Convert FC_COS bit values to ascii string name */
153static struct { 153static const struct {
154 u32 value; 154 u32 value;
155 char *name; 155 char *name;
156} fc_cos_names[] = { 156} fc_cos_names[] = {
@@ -164,7 +164,7 @@ fc_bitfield_name_search(cos, fc_cos_names)
164 164
165 165
166/* Convert FC_PORTSPEED bit values to ascii string name */ 166/* Convert FC_PORTSPEED bit values to ascii string name */
167static struct { 167static const struct {
168 u32 value; 168 u32 value;
169 char *name; 169 char *name;
170} fc_port_speed_names[] = { 170} fc_port_speed_names[] = {
@@ -190,7 +190,7 @@ show_fc_fc4s (char *buf, u8 *fc4_list)
190 190
191 191
192/* Convert FC_RPORT_ROLE bit values to ascii string name */ 192/* Convert FC_RPORT_ROLE bit values to ascii string name */
193static struct { 193static const struct {
194 u32 value; 194 u32 value;
195 char *name; 195 char *name;
196} fc_remote_port_role_names[] = { 196} fc_remote_port_role_names[] = {