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>
This commit is contained in:
Samantha Tran
2020-04-10 16:12:29 -07:00
父節點 22923230ef
當前提交 18d29a5b7b
共有 4 個文件被更改,包括 13 次插入7 次删除

查看文件

@@ -414,8 +414,7 @@ static inline void sde_dbg_init_dbg_buses(u32 hwversion)
{
}
static inline int sde_dbg_init(struct device *dev,
struct sde_dbg_power_ctrl *power_ctrl)
static inline int sde_dbg_init(struct device *dev)
{
return 0;
}
@@ -429,7 +428,7 @@ static inline void sde_dbg_destroy(void)
{
}
static inline void sde_dbg_dump(enum sde_dbg_dump_context,
static inline void sde_dbg_dump(enum sde_dbg_dump_context mode,
const char *name, ...)
{
}
@@ -455,7 +454,7 @@ int sde_dbg_register_dsi_ctrl(void __iomem *base, const char *name)
return 0;
}
void sde_dbg_set_sde_top_offset(u32 blk_off)
static inline void sde_dbg_set_sde_top_offset(u32 blk_off)
{
}