WARNING: externs should be avoided in .c files
The patch below has been tested by rerunning the following command
and by verifying its output:
scripts/run-regression-tests 2.6.26.8
Signed-off-by: Bart Van Assche <bart.vanassche@gmail.com>
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1263
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
return size;
}
-extern int qla2x00_configure_loop(scsi_qla_host_t *);
-extern int qla2x00_configure_local_loop(scsi_qla_host_t *);
-extern int qla2x00_configure_fabric(scsi_qla_host_t *);
-
static ssize_t
qla2x00_update_portdb(struct device *dev,
struct device_attribute *attr, const char *buffer, size_t size)
extern void qla84xx_put_chip(struct scsi_qla_host *);
+extern int qla2x00_configure_loop(scsi_qla_host_t *);
+extern int qla2x00_configure_local_loop(scsi_qla_host_t *);
+extern int qla2x00_configure_fabric(scsi_qla_host_t *);
+
/*
* Global Data in qla_os.c source file.
*/
static int qla2x00_init_rings(scsi_qla_host_t *);
static int qla2x00_fw_ready(scsi_qla_host_t *);
static int qla2x00_configure_hba(scsi_qla_host_t *);
-int qla2x00_configure_loop(scsi_qla_host_t *);
-int qla2x00_configure_local_loop(scsi_qla_host_t *);
-int qla2x00_configure_fabric(scsi_qla_host_t *);
static int qla2x00_find_all_fabric_devs(scsi_qla_host_t *, struct list_head *);
static int qla2x00_device_resync(scsi_qla_host_t *);
static int qla2x00_fabric_dev_login(scsi_qla_host_t *, fc_port_t *,