scsi: qla2xxx: Move the port_state_str[] definition from a .h to a .c file
authorBart Van Assche <bvanassche@acm.org>
Thu, 11 Apr 2019 21:53:20 +0000 (14:53 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 16 Apr 2019 02:04:40 +0000 (22:04 -0400)
commitc4dc7cd314398f03c1c6e5034b8913aeb40b2646
tree98bd61ba8fc98b4908a480528e43b2b4d0a078ac
parent58e2753c1163ebce9be0c8938cac2f237716eda1
scsi: qla2xxx: Move the port_state_str[] definition from a .h to a .c file

Reduce the size of the qla2xxx kernel module by moving an array definition
from a .h into a .c file.

Cc: Himanshu Madhani <hmadhani@marvell.com>
Cc: Giridhar Malavali <gmalavali@marvell.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Acked-by: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_def.h
drivers/scsi/qla2xxx/qla_isr.c