@@ -1847,7 +1847,6 @@ int ufshcd_hold(struct ufs_hba *hba, bool async)
out:
return rc;
}
-EXPORT_SYMBOL_GPL(ufshcd_hold);
static void ufshcd_gate_work(struct work_struct *work)
{
@@ -1950,7 +1949,6 @@ void ufshcd_release(struct ufs_hba *hba)
__ufshcd_release(hba);
spin_unlock_irqrestore(hba->host->host_lock, flags);
}
-EXPORT_SYMBOL_GPL(ufshcd_release);
static ssize_t ufshcd_clkgate_delay_show(struct device *dev,
struct device_attribute *attr, char *buf)
@@ -1358,9 +1358,6 @@ void ufshcd_fixup_dev_quirks(struct ufs_hba *hba,
int ufshcd_read_string_desc(struct ufs_hba *hba, u8 desc_index,
u8 **buf, bool ascii);
-int ufshcd_hold(struct ufs_hba *hba, bool async);
-void ufshcd_release(struct ufs_hba *hba);
-
void ufshcd_clkgate_delay_set(struct device *dev, unsigned long value);
u32 ufshcd_get_local_unipro_ver(struct ufs_hba *hba);
Unexport these functions since these are only used by the UFS core. Signed-off-by: Bart Van Assche <bvanassche@acm.org> --- drivers/ufs/core/ufshcd.c | 2 -- include/ufs/ufshcd.h | 3 --- 2 files changed, 5 deletions(-)