summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qlogicpti.h
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2019-02-13 17:08:29 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2019-02-14 04:07:03 +0100
commit7f8e12f1e21524bd498477893b235e908843f1b7 (patch)
tree171e7dd34289982d672af24bfda268fe445f1ea8 /drivers/scsi/qlogicpti.h
parentscsi: sd: Fix typo in sd_first_printk() (diff)
downloadlinux-7f8e12f1e21524bd498477893b235e908843f1b7.tar.xz
linux-7f8e12f1e21524bd498477893b235e908843f1b7.zip
scsi: qlogicpti: Use of_node_name_eq for node name comparisons
Convert string compares of DT node names to use of_node_name_eq helper instead. This removes direct access to the node name pointer. As prom_name is not used for anything else, remove it. Cc: "James E.J. Bottomley" <jejb@linux.ibm.com> Cc: "Martin K. Petersen" <martin.petersen@oracle.com> Cc: linux-scsi@vger.kernel.org Signed-off-by: Rob Herring <robh@kernel.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/qlogicpti.h')
-rw-r--r--drivers/scsi/qlogicpti.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/scsi/qlogicpti.h b/drivers/scsi/qlogicpti.h
index 884ad72ade57..2b6374e08a7d 100644
--- a/drivers/scsi/qlogicpti.h
+++ b/drivers/scsi/qlogicpti.h
@@ -364,7 +364,6 @@ struct qlogicpti {
int qpti_id;
int scsi_id;
int prom_node;
- char prom_name[64];
int irq;
char differential, ultra, clock;
unsigned char bursts;
@@ -379,7 +378,7 @@ struct qlogicpti {
#define SREG_IMASK 0x0c /* Interrupt level */
#define SREG_SPMASK 0x03 /* Mask for switch pack */
unsigned char swsreg;
- unsigned int
+ unsigned int
gotirq : 1, /* this instance got an irq */
is_pti : 1; /* Non-zero if this is a PTI board. */
};