Revert "FROMLIST: scsi: ufs: export hibern8 entry and exit"

This reverts commit 38c1605e75.

Failed upstream commit.  Last attempt was over a year ago.  Asutosh
mentioned that they have no plans to continue with this in the near
future.

Suggested-by: Todd Kjos <tkjos@google.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Change-Id: I04fe284e1e5bc58abc88d1478989d0585d32d59b
This commit is contained in:
Lee Jones
2021-05-26 14:28:07 +01:00
parent 5b9e3e32e0
commit 93dccda6eb
2 changed files with 2 additions and 4 deletions

View File

@@ -231,6 +231,7 @@ static void ufshcd_hba_exit(struct ufs_hba *hba);
static int ufshcd_clear_ua_wluns(struct ufs_hba *hba);
static int ufshcd_probe_hba(struct ufs_hba *hba, bool async);
static int ufshcd_setup_clocks(struct ufs_hba *hba, bool on);
static int ufshcd_uic_hibern8_enter(struct ufs_hba *hba);
static inline void ufshcd_add_delay_before_dme_cmd(struct ufs_hba *hba);
static int ufshcd_host_reset_and_restore(struct ufs_hba *hba);
static void ufshcd_resume_clkscaling(struct ufs_hba *hba);
@@ -4057,7 +4058,7 @@ int ufshcd_link_recovery(struct ufs_hba *hba)
}
EXPORT_SYMBOL_GPL(ufshcd_link_recovery);
int ufshcd_uic_hibern8_enter(struct ufs_hba *hba)
static int ufshcd_uic_hibern8_enter(struct ufs_hba *hba)
{
int ret;
struct uic_command uic_cmd = {0};
@@ -4079,7 +4080,6 @@ int ufshcd_uic_hibern8_enter(struct ufs_hba *hba)
return ret;
}
EXPORT_SYMBOL_GPL(ufshcd_uic_hibern8_enter);
int ufshcd_uic_hibern8_exit(struct ufs_hba *hba)
{

View File

@@ -1340,6 +1340,4 @@ static inline int ufshcd_update_ee_usr_mask(struct ufs_hba *hba,
&hba->ee_drv_mask, set, clr);
}
int ufshcd_uic_hibern8_enter(struct ufs_hba *hba);
int ufshcd_uic_hibern8_exit(struct ufs_hba *hba);
#endif /* End of Header */