diff --git a/drivers/scsi/ufs/ufs-qcom-ice.c b/drivers/scsi/ufs/ufs-qcom-ice.c index bbb0ad7590ec..f111b702a950 100644 --- a/drivers/scsi/ufs/ufs-qcom-ice.c +++ b/drivers/scsi/ufs/ufs-qcom-ice.c @@ -168,6 +168,10 @@ int ufs_qcom_ice_enable(struct ufs_qcom_host *host) return ufs_qcom_ice_resume(host); } +void ufs_qcom_ice_disable(struct ufs_qcom_host *host) +{ +} + /* Poll until all BIST bits are reset */ static int qcom_ice_wait_bist_status(struct ufs_qcom_host *host) { diff --git a/drivers/scsi/ufs/ufshcd-crypto-qti.h b/drivers/scsi/ufs/ufshcd-crypto-qti.h new file mode 100644 index 000000000000..5b13f5f15d6a --- /dev/null +++ b/drivers/scsi/ufs/ufshcd-crypto-qti.h @@ -0,0 +1,22 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (c) 2020-2021, The Linux Foundation. All rights reserved. + */ + +#ifndef _UFSHCD_CRYPTO_QTI_H +#define _UFSHCD_CRYPTO_QTI_H + +#include "ufshcd.h" +#include "ufshcd-crypto.h" + +#if IS_ENABLED(CONFIG_SCSI_UFS_CRYPTO_QTI) +int ufshcd_qti_hba_init_crypto_capabilities(struct ufs_hba *hba); +#else /* CONFIG_SCSI_UFS_CRYPTO_QTI */ +static inline int ufshcd_qti_hba_init_crypto_capabilities( + struct ufs_hba *hba) +{ + return 0; +} +#endif /* CONFIG_SCSI_UFS_CRYPTO_QTI */ + +#endif /* _UFSHCD_CRYPTO_QTI_H */