diff options
author | Bart Van Assche <bvanassche@acm.org> | 2023-07-27 21:41:17 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2023-07-31 21:17:50 +0200 |
commit | cce9fd602ca0c5b0a310dbe457aa61d1beaa2d38 (patch) | |
tree | 3eba317681d79678703e6ed9cb826339f50a74c5 /include/ufs/ufshcd.h | |
parent | scsi: ufs: Rename a function argument (diff) | |
download | linux-cce9fd602ca0c5b0a310dbe457aa61d1beaa2d38.tar.xz linux-cce9fd602ca0c5b0a310dbe457aa61d1beaa2d38.zip |
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/ufshcd.h')
-rw-r--r-- | include/ufs/ufshcd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ufs/ufshcd.h b/include/ufs/ufshcd.h index fc80de57a4c6..67bd089e70bc 100644 --- a/include/ufs/ufshcd.h +++ b/include/ufs/ufshcd.h @@ -20,6 +20,7 @@ #include <linux/pm_runtime.h> #include <linux/dma-direction.h> #include <scsi/scsi_device.h> +#include <scsi/scsi_host.h> #include <ufs/unipro.h> #include <ufs/ufs.h> #include <ufs/ufs_quirks.h> |