ufs: fix compilation when CONFIG_DEBUG_FS is disabled
Fix compilation error when CONFIG_DEBUG_FS is disabled in kona-perf_defconfig. Change-Id: Ic105bbb1db77c70f1b30d66eff87e0c515708756 Signed-off-by: Prateek Sood <prsood@codeaurora.org>
This commit is contained in:
parent
5f840b7802
commit
3eed8718b8
1 changed files with 3 additions and 2 deletions
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* This code is based on drivers/scsi/ufs/ufshcd.h
|
||||
* Copyright (C) 2011-2013 Samsung India Software Operations
|
||||
* Copyright (c) 2013-2019, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2013-2020, The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* Authors:
|
||||
* Santosh Yaraganavi <santosh.sy@samsung.com>
|
||||
|
@ -1514,7 +1514,8 @@ static inline void ufshcd_vops_remove_debugfs(struct ufs_hba *hba)
|
|||
hba->var->vops->remove_debugfs(hba);
|
||||
}
|
||||
#else
|
||||
static inline void ufshcd_vops_add_debugfs(struct ufs_hba *hba, struct dentry *)
|
||||
static inline void ufshcd_vops_add_debugfs(struct ufs_hba *hba,
|
||||
struct dentry *root)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue