msm: mhi_dev: Fix compilation with DEBUG_FS is disabled

Fix compilation error when DEBUG_FS is disabled.

Change-Id: Ib8f4f7cd3f5804313a8f058f21ba4463f481b627
Signed-off-by: Swetha Chikkaboraiah <schikk@codeaurora.org>
tirimbino
Swetha Chikkaboraiah 4 years ago committed by Srinivasarao P
parent 832959a177
commit 101cbbfee0
  1. 2
      drivers/platform/msm/mhi_dev/mhi_sm.c

@ -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

Loading…
Cancel
Save