Commit bb83e59d authored by Bart Van Assche's avatar Bart Van Assche Committed by Martin K. Petersen

scsi: qla4xxx: Move an array from a .h into a .c file

This patch does not change any functionality but slightly reduces
the size of the compiled kernel module.
Signed-off-by: default avatarBart Van Assche <bart.vanassche@wdc.com>
Cc: Himanshu Madhani <himanshu.madhani@cavium.com>
Acked-by: default avatarHimanshu Madhani <himanshu.madhani@cavium.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 454d0d41
...@@ -45,6 +45,8 @@ qla4_8xxx_pci_base_offsetfset(struct scsi_qla_host *ha, unsigned long off) ...@@ -45,6 +45,8 @@ qla4_8xxx_pci_base_offsetfset(struct scsi_qla_host *ha, unsigned long off)
return NULL; return NULL;
} }
static const int MD_MIU_TEST_AGT_RDDATA[] = { 0x410000A8,
0x410000AC, 0x410000B8, 0x410000BC };
#define MAX_CRB_XFORM 60 #define MAX_CRB_XFORM 60
static unsigned long crb_addr_xform[MAX_CRB_XFORM]; static unsigned long crb_addr_xform[MAX_CRB_XFORM];
static int qla4_8xxx_crb_table_initialized; static int qla4_8xxx_crb_table_initialized;
......
...@@ -1022,6 +1022,4 @@ struct qla8xxx_minidump_entry_queue { ...@@ -1022,6 +1022,4 @@ struct qla8xxx_minidump_entry_queue {
#define MD_MIU_TEST_AGT_WRDATA_ULO 0x410000B0 #define MD_MIU_TEST_AGT_WRDATA_ULO 0x410000B0
#define MD_MIU_TEST_AGT_WRDATA_UHI 0x410000B4 #define MD_MIU_TEST_AGT_WRDATA_UHI 0x410000B4
static const int MD_MIU_TEST_AGT_RDDATA[] = { 0x410000A8,
0x410000AC, 0x410000B8, 0x410000BC };
#endif #endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment