disp: msm: sde: update check flags to handle CONFIG_DEBUG_FS
Add support to handle disabling of CONFIG_DEBUG_FS. Change-Id: I8c07434afc36edfae9bd9bc7880d07264eca7650 Signed-off-by: Krishna Manikandan <mkrishn@codeaurora.org> Signed-off-by: Samantha Tran <samtran@codeaurora.org>
此提交包含在:
@@ -166,6 +166,7 @@ static void _sde_crtc_deinit_events(struct sde_crtc *sde_crtc)
|
||||
return;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_DEBUG_FS
|
||||
static int _sde_debugfs_fps_status_show(struct seq_file *s, void *data)
|
||||
{
|
||||
struct sde_crtc *sde_crtc;
|
||||
@@ -212,6 +213,7 @@ static int _sde_debugfs_fps_status(struct inode *inode, struct file *file)
|
||||
return single_open(file, _sde_debugfs_fps_status_show,
|
||||
inode->i_private);
|
||||
}
|
||||
#endif
|
||||
|
||||
static ssize_t fps_periodicity_ms_store(struct device *device,
|
||||
struct device_attribute *attr, const char *buf, size_t count)
|
||||
|
新增問題並參考
封鎖使用者