Skip to content

Commit

Permalink
scsi: ufs: Remove unnecessary ufshcd-crypto.h include directives
Browse files Browse the repository at this point in the history
ufshcd-crypto.h declares functions that must only be called by the UFS
core. Hence remove the #include "ufshcd-crypto.h" directive from UFS
drivers.

Link: https://lore.kernel.org/r/[email protected]
Tested-by: Bean Huo <[email protected]>
Reviewed-by: Eric Biggers <[email protected]>
Reviewed-by: Bean Huo <[email protected]>
Signed-off-by: Bart Van Assche <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
  • Loading branch information
bvanassche authored and martinkpetersen committed Apr 26, 2022
1 parent bee40dc commit c10d52d
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion drivers/scsi/ufs/ufs-mediatek.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
#include <linux/soc/mediatek/mtk_sip_svc.h>

#include "ufshcd.h"
#include "ufshcd-crypto.h"
#include "ufshcd-pltfrm.h"
#include "ufs_quirks.h"
#include "unipro.h"
Expand Down
1 change: 0 additions & 1 deletion drivers/scsi/ufs/ufs-qcom-ice.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
#include <linux/platform_device.h>
#include <linux/qcom_scm.h>

#include "ufshcd-crypto.h"
#include "ufs-qcom.h"

#define AES_256_XTS_KEY_SIZE 64
Expand Down
1 change: 1 addition & 0 deletions drivers/scsi/ufs/ufs-qcom.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

#include <linux/reset-controller.h>
#include <linux/reset.h>
#include "ufshcd.h"

#define MAX_UFS_QCOM_HOSTS 1
#define MAX_U32 (~(u32)0)
Expand Down

0 comments on commit c10d52d

Please sign in to comment.