From: Bart Van Assche Date: Thu, 11 Apr 2019 21:53:22 +0000 (-0700) Subject: scsi: qla2xxx: Move the include directive X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=9dfb59a00881a5acbaafdb75ff98f518b9a382bf;p=openwrt%2Fstaging%2Fblogic.git scsi: qla2xxx: Move the include directive The 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 Cc: Giridhar Malavali Reviewed-by: Johannes Thumshirn Acked-by: Himanshu Madhani Signed-off-by: Bart Van Assche Signed-off-by: Martin K. Petersen --- 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 +#include #include #include #include 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 +#include /* * Following are the states of the Phantom. Phantom will set them and