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 6cd5931d9a54..cd95d2ae7b77 100644
--- a/drivers/scsi/scsi_transport_fc.c
+++ b/drivers/scsi/scsi_transport_fc.c
@@ -111,7 +111,7 @@ fc_enum_name_search(port_state, fc_port_state, fc_port_state_names)
111 111
112 112
113/* Convert fc_tgtid_binding_type values to ascii string name */ 113/* Convert fc_tgtid_binding_type values to ascii string name */
114static struct { 114static const struct {
115 enum fc_tgtid_binding_type value; 115 enum fc_tgtid_binding_type value;
116 char *name; 116 char *name;
117 int matchlen; 117 int matchlen;
@@ -149,7 +149,7 @@ get_fc_##title##_names(u32 table_key, char *buf) \
149 149
150 150
151/* Convert FC_COS bit values to ascii string name */ 151/* Convert FC_COS bit values to ascii string name */
152static struct { 152static const struct {
153 u32 value; 153 u32 value;
154 char *name; 154 char *name;
155} fc_cos_names[] = { 155} fc_cos_names[] = {
@@ -163,7 +163,7 @@ fc_bitfield_name_search(cos, fc_cos_names)
163 163
164 164
165/* Convert FC_PORTSPEED bit values to ascii string name */ 165/* Convert FC_PORTSPEED bit values to ascii string name */
166static struct { 166static const struct {
167 u32 value; 167 u32 value;
168 char *name; 168 char *name;
169} fc_port_speed_names[] = { 169} fc_port_speed_names[] = {
@@ -189,7 +189,7 @@ show_fc_fc4s (char *buf, u8 *fc4_list)
189 189
190 190
191/* Convert FC_RPORT_ROLE bit values to ascii string name */ 191/* Convert FC_RPORT_ROLE bit values to ascii string name */
192static struct { 192static const struct {
193 u32 value; 193 u32 value;
194 char *name; 194 char *name;
195} fc_remote_port_role_names[] = { 195} fc_remote_port_role_names[] = {