diff mbox series

[07/10] qla2xxx: Move the <linux/io-64-nonatomic-lo-hi.h> include directive

Message ID 20190411215325.122837-8-bvanassche@acm.org (mailing list archive)
State Mainlined
Commit 9dfb59a00881a5acbaafdb75ff98f518b9a382bf
Headers show
Series Improve qla2xxx coding style | expand

Commit Message

Bart Van Assche April 11, 2019, 9:53 p.m. UTC
The <linux/io-64-nonatomic-lo-hi.h> header file is included because of
the readq() macro. Since that macro is only used in qla_nx.c, move that
include statement into qla_nx.c.

Cc: Himanshu Madhani <hmadhani@marvell.com>
Cc: Giridhar Malavali <gmalavali@marvell.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
---
 drivers/scsi/qla2xxx/qla_nx.c | 1 +
 drivers/scsi/qla2xxx/qla_nx.h | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/scsi/qla2xxx/qla_nx.c b/drivers/scsi/qla2xxx/qla_nx.c
index 340e266cd88c..df1612b19f67 100644
--- a/drivers/scsi/qla2xxx/qla_nx.c
+++ b/drivers/scsi/qla2xxx/qla_nx.c
@@ -6,6 +6,7 @@ 
  */
 #include "qla_def.h"
 #include <linux/delay.h>
+#include <linux/io-64-nonatomic-lo-hi.h>
 #include <linux/pci.h>
 #include <linux/ratelimit.h>
 #include <linux/vmalloc.h>
diff --git a/drivers/scsi/qla2xxx/qla_nx.h b/drivers/scsi/qla2xxx/qla_nx.h
index 71a41093530e..3c7beef92c35 100644
--- a/drivers/scsi/qla2xxx/qla_nx.h
+++ b/drivers/scsi/qla2xxx/qla_nx.h
@@ -7,7 +7,7 @@ 
 #ifndef __QLA_NX_H
 #define __QLA_NX_H
 
-#include <linux/io-64-nonatomic-lo-hi.h>
+#include <scsi/scsi.h>
 
 /*
  * Following are the states of the Phantom. Phantom will set them and