Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 69d5215f authored by Prateek Sood's avatar Prateek Sood Committed by Gerrit - the friendly Code Review server
Browse files

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: default avatarPrateek Sood <prsood@codeaurora.org>
parent bbba4df3
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -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)
{
}