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

Commit 101cbbfe authored by Swetha Chikkaboraiah's avatar Swetha Chikkaboraiah Committed by Srinivasarao P
Browse files

msm: mhi_dev: Fix compilation with DEBUG_FS is disabled



Fix compilation error when DEBUG_FS is disabled.

Change-Id: Ib8f4f7cd3f5804313a8f058f21ba4463f481b627
Signed-off-by: default avatarSwetha Chikkaboraiah <schikk@codeaurora.org>
parent 832959a1
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1479,6 +1479,7 @@ int mhi_dev_sm_syserr(void)
}
EXPORT_SYMBOL(mhi_dev_sm_syserr);

#ifdef CONFIG_DEBUG_FS
static ssize_t mhi_sm_debugfs_read(struct file *file, char __user *ubuf,
				size_t count, loff_t *ppos)
{
@@ -1592,3 +1593,4 @@ static ssize_t mhi_sm_debugfs_write(struct file *file,

	return count;
}
#endif