diff options
Diffstat (limited to 'drivers/scsi/qla4xxx/ql4_init.c')
-rw-r--r-- | drivers/scsi/qla4xxx/ql4_init.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/scsi/qla4xxx/ql4_init.c b/drivers/scsi/qla4xxx/ql4_init.c index b907b06d72ab..6365df268612 100644 --- a/drivers/scsi/qla4xxx/ql4_init.c +++ b/drivers/scsi/qla4xxx/ql4_init.c | |||
@@ -7,9 +7,8 @@ | |||
7 | 7 | ||
8 | #include "ql4_def.h" | 8 | #include "ql4_def.h" |
9 | 9 | ||
10 | /* | 10 | static struct ddb_entry * qla4xxx_alloc_ddb(struct scsi_qla_host *ha, |
11 | * QLogic ISP4xxx Hardware Support Function Prototypes. | 11 | uint32_t fw_ddb_index); |
12 | */ | ||
13 | 12 | ||
14 | static void ql4xxx_set_mac_number(struct scsi_qla_host *ha) | 13 | static void ql4xxx_set_mac_number(struct scsi_qla_host *ha) |
15 | { | 14 | { |
@@ -48,7 +47,8 @@ static void ql4xxx_set_mac_number(struct scsi_qla_host *ha) | |||
48 | * This routine deallocates and unlinks the specified ddb_entry from the | 47 | * This routine deallocates and unlinks the specified ddb_entry from the |
49 | * adapter's | 48 | * adapter's |
50 | **/ | 49 | **/ |
51 | void qla4xxx_free_ddb(struct scsi_qla_host *ha, struct ddb_entry *ddb_entry) | 50 | static void qla4xxx_free_ddb(struct scsi_qla_host *ha, |
51 | struct ddb_entry *ddb_entry) | ||
52 | { | 52 | { |
53 | /* Remove device entry from list */ | 53 | /* Remove device entry from list */ |
54 | list_del_init(&ddb_entry->list); | 54 | list_del_init(&ddb_entry->list); |
@@ -370,9 +370,9 @@ static struct ddb_entry* qla4xxx_get_ddb_entry(struct scsi_qla_host *ha, | |||
370 | * must be initialized prior to calling this routine | 370 | * must be initialized prior to calling this routine |
371 | * | 371 | * |
372 | **/ | 372 | **/ |
373 | int qla4xxx_update_ddb_entry(struct scsi_qla_host *ha, | 373 | static int qla4xxx_update_ddb_entry(struct scsi_qla_host *ha, |
374 | struct ddb_entry *ddb_entry, | 374 | struct ddb_entry *ddb_entry, |
375 | uint32_t fw_ddb_index) | 375 | uint32_t fw_ddb_index) |
376 | { | 376 | { |
377 | struct dev_db_entry *fw_ddb_entry = NULL; | 377 | struct dev_db_entry *fw_ddb_entry = NULL; |
378 | dma_addr_t fw_ddb_entry_dma; | 378 | dma_addr_t fw_ddb_entry_dma; |
@@ -450,8 +450,8 @@ int qla4xxx_update_ddb_entry(struct scsi_qla_host *ha, | |||
450 | * This routine allocates a ddb_entry, ititializes some values, and | 450 | * This routine allocates a ddb_entry, ititializes some values, and |
451 | * inserts it into the ddb list. | 451 | * inserts it into the ddb list. |
452 | **/ | 452 | **/ |
453 | struct ddb_entry * qla4xxx_alloc_ddb(struct scsi_qla_host *ha, | 453 | static struct ddb_entry * qla4xxx_alloc_ddb(struct scsi_qla_host *ha, |
454 | uint32_t fw_ddb_index) | 454 | uint32_t fw_ddb_index) |
455 | { | 455 | { |
456 | struct ddb_entry *ddb_entry; | 456 | struct ddb_entry *ddb_entry; |
457 | 457 | ||