aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi_transport_fc.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2006-01-04 19:30:12 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-04 19:30:12 -0500
commitf61ea1b0c825a20a1826bb43a226387091934586 (patch)
treefdedf0a2368f707e3fd5205db05bfcbac79606ec /drivers/scsi/scsi_transport_fc.c
parentd347da0deffa1d8f88f0d270eab040e4707c9916 (diff)
parent7b32b8e018d8f8cc94c808a5fa84a3f889441b91 (diff)
Merge git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6
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[] = {