aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_os.c
diff options
context:
space:
mode:
authorAndrew Vasquez <andrew.vasquez@qlogic.com>2005-04-21 16:13:36 -0400
committerJames Bottomley <jejb@mulgrave.(none)>2005-04-21 16:13:36 -0400
commit1c97a12a29b49ad4432927eac076fd5e3dedece6 (patch)
treee22ff48cb58a4b3092addaa9e36aa9d6a276b3a0 /drivers/scsi/qla2xxx/qla_os.c
parent40b7bc062cdacb3883bb0f94eb122b8336af5b36 (diff)
[SCSI] qla2xxx: remove a transport #include
Make transport-functions structure non-static. Replace #include of scsi_transport.h with a forward declaration. Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_os.c')
-rw-r--r--drivers/scsi/qla2xxx/qla_os.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c
index 84db911318c6..579448222d69 100644
--- a/drivers/scsi/qla2xxx/qla_os.c
+++ b/drivers/scsi/qla2xxx/qla_os.c
@@ -2350,7 +2350,8 @@ qla2x00_module_init(void)
2350#if DEBUG_QLA2100 2350#if DEBUG_QLA2100
2351 strcat(qla2x00_version_str, "-debug"); 2351 strcat(qla2x00_version_str, "-debug");
2352#endif 2352#endif
2353 qla2xxx_transport_template = qla2x00_alloc_transport_tmpl(); 2353 qla2xxx_transport_template =
2354 fc_attach_transport(&qla2xxx_transport_functions);
2354 if (!qla2xxx_transport_template) 2355 if (!qla2xxx_transport_template)
2355 return -ENODEV; 2356 return -ENODEV;
2356 2357