diff options
author | Bart Van Assche <bvanassche@acm.org> | 2023-07-27 22:41:17 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2023-07-31 22:17:50 +0300 |
commit | cce9fd602ca0c5b0a310dbe457aa61d1beaa2d38 (patch) | |
tree | 3eba317681d79678703e6ed9cb826339f50a74c5 /include/ufs/ufshci.h | |
parent | f08191520614764789aec42161b297c327d3660a (diff) | |
download | linux-cce9fd602ca0c5b0a310dbe457aa61d1beaa2d38.tar.xz |
scsi: ufs: Minimize #include directives
Only #include those header files that are needed.
Note: include/ufs/ufshcd.h needs <scsi/scsi_host.h> because of SG_ALL.
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20230727194457.3152309-6-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include/ufs/ufshci.h')
-rw-r--r-- | include/ufs/ufshci.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/ufs/ufshci.h b/include/ufs/ufshci.h index 146fbea76d98..c48135554d5c 100644 --- a/include/ufs/ufshci.h +++ b/include/ufs/ufshci.h @@ -11,7 +11,8 @@ #ifndef _UFSHCI_H #define _UFSHCI_H -#include <scsi/scsi_host.h> +#include <linux/types.h> +#include <ufs/ufs.h> enum { TASK_REQ_UPIU_SIZE_DWORDS = 8, |