From: Bart Van Assche Date: Thu, 27 Jul 2023 19:41:17 +0000 (-0700) Subject: scsi: ufs: Minimize #include directives X-Git-Tag: v6.6-rc1~11^2~51^2~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cce9fd602ca0c5b0a310dbe457aa61d1beaa2d38;p=thirdparty%2Fkernel%2Flinux.git scsi: ufs: Minimize #include directives Only #include those header files that are needed. Note: include/ufs/ufshcd.h needs because of SG_ALL. Signed-off-by: Bart Van Assche Link: https://lore.kernel.org/r/20230727194457.3152309-6-bvanassche@acm.org Signed-off-by: Martin K. Petersen --- diff --git a/include/ufs/ufs.h b/include/ufs/ufs.h index c789252b5fad2..0fb733683953f 100644 --- a/include/ufs/ufs.h +++ b/include/ufs/ufs.h @@ -11,7 +11,7 @@ #ifndef _UFS_H #define _UFS_H -#include +#include #include #include diff --git a/include/ufs/ufshcd.h b/include/ufs/ufshcd.h index fc80de57a4c64..67bd089e70bc4 100644 --- a/include/ufs/ufshcd.h +++ b/include/ufs/ufshcd.h @@ -20,6 +20,7 @@ #include #include #include +#include #include #include #include diff --git a/include/ufs/ufshci.h b/include/ufs/ufshci.h index 146fbea76d98d..c48135554d5cb 100644 --- a/include/ufs/ufshci.h +++ b/include/ufs/ufshci.h @@ -11,7 +11,8 @@ #ifndef _UFSHCI_H #define _UFSHCI_H -#include +#include +#include enum { TASK_REQ_UPIU_SIZE_DWORDS = 8,