|
@@ -247,10 +247,10 @@ int sde_dbg_init(struct device *dev);
|
|
|
|
|
|
/**
|
|
|
* sde_dbg_debugfs_register - register entries at the given debugfs dir
|
|
|
- * @debugfs_root: debugfs root in which to create sde debug entries
|
|
|
+ * @dev: pointer to device
|
|
|
* Returns: 0 or -ERROR
|
|
|
*/
|
|
|
-int sde_dbg_debugfs_register(struct dentry *debugfs_root);
|
|
|
+int sde_dbg_debugfs_register(struct device *dev);
|
|
|
|
|
|
/**
|
|
|
* sde_dbg_destroy - destroy the global sde debug facilities
|
|
@@ -404,17 +404,22 @@ static inline ssize_t sde_evtlog_dump_to_buffer(struct sde_dbg_evtlog *evtlog,
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
|
+static inline int sde_dbg_dsi_ctrl_register(void __iomem *base,
|
|
|
+ const char *name)
|
|
|
+{
|
|
|
+ return 0;
|
|
|
+}
|
|
|
+
|
|
|
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;
|
|
|
}
|
|
|
|
|
|
-static inline int sde_dbg_debugfs_register(struct dentry *debugfs_root)
|
|
|
+static inline int sde_dbg_debugfs_register(struct device *dev)
|
|
|
{
|
|
|
return 0;
|
|
|
}
|
|
@@ -423,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, ...)
|
|
|
{
|
|
|
}
|
|
@@ -449,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)
|
|
|
{
|
|
|
}
|
|
|
|