]> git.baikalelectronics.ru Git - kernel.git/commitdiff
scsi: ufs: Remove unnecessary ufshcd-crypto.h include directives
authorBart Van Assche <bvanassche@acm.org>
Tue, 19 Apr 2022 22:58:06 +0000 (15:58 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 26 Apr 2022 03:23:03 +0000 (23:23 -0400)
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/20220419225811.4127248-24-bvanassche@acm.org
Tested-by: Bean Huo <beanhuo@micron.com>
Reviewed-by: Eric Biggers <ebiggers@google.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>
drivers/scsi/ufs/ufs-mediatek.c
drivers/scsi/ufs/ufs-qcom-ice.c
drivers/scsi/ufs/ufs-qcom.h

index d19b3549530209106549819266d861b744206705..84ccb5258736e5306a1711f6092bbdcaf3b5acce 100644 (file)
@@ -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"
index bbb0ad7590ec12ba42f7af436d307a282b0614c7..921d6a93b653ca8a39ebed88fc0f2a5b06751550 100644 (file)
@@ -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
index 51570224a6e20ccd6f0dfbf6a68acb93aaaac841..771bc95d02c72a8f653bc68384a225a156bbf50a 100644 (file)
@@ -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)