aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/ufs/ufshpb.c
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2022-04-19 15:58:08 -0700
committerMartin K. Petersen <martin.petersen@oracle.com>2022-04-25 23:23:04 -0400
commit3f06f7800b80462e8f6aadade6bb823496204e06 (patch)
treed2258fcce9c9e7c8da6b3891ce8a4f0b99954e37 /drivers/scsi/ufs/ufshpb.c
parentscsi: ufs: Fix kernel-doc syntax in ufshcd.h (diff)
downloadlinux-dev-3f06f7800b80462e8f6aadade6bb823496204e06.tar.xz
linux-dev-3f06f7800b80462e8f6aadade6bb823496204e06.zip
scsi: ufs: Minimize #include directives
Follow the convention that is used elsewhere in the Linux kernel source code and only include those headers of which the declarations are used directly. Link: https://lore.kernel.org/r/20220419225811.4127248-26-bvanassche@acm.org Tested-by: Bean Huo <beanhuo@micron.com> Reviewed-by: Bean Huo <beanhuo@micron.com> Signed-off-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/ufs/ufshpb.c')
-rw-r--r--drivers/scsi/ufs/ufshpb.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/scsi/ufs/ufshpb.c b/drivers/scsi/ufs/ufshpb.c
index 40f365c537f5..68c97a2e825c 100644
--- a/drivers/scsi/ufs/ufshpb.c
+++ b/drivers/scsi/ufs/ufshpb.c
@@ -10,6 +10,10 @@
*/
#include <asm/unaligned.h>
+#include <linux/delay.h>
+#include <linux/device.h>
+#include <linux/module.h>
+#include <scsi/scsi_cmnd.h>
#include "ufshcd.h"
#include "ufshpb.h"