|
@@ -1132,7 +1132,6 @@ void sde_rsc_debug_dump(u32 mux_sel)
|
|
|
if (rsc->hw_ops.debug_dump)
|
|
|
rsc->hw_ops.debug_dump(rsc, mux_sel);
|
|
|
}
|
|
|
-#endif /* defined(CONFIG_DEBUG_FS) */
|
|
|
|
|
|
static int _sde_debugfs_status_show(struct seq_file *s, void *data)
|
|
|
{
|
|
@@ -1581,6 +1580,11 @@ static void _sde_rsc_init_debugfs(struct sde_rsc_priv *rsc, char *name)
|
|
|
debugfs_create_x32("debug_mode", 0600, rsc->debugfs_root,
|
|
|
&rsc->debug_mode);
|
|
|
}
|
|
|
+#else
|
|
|
+static void _sde_rsc_init_debugfs(struct sde_rsc_priv *rsc, char *name)
|
|
|
+{
|
|
|
+}
|
|
|
+#endif /* defined(CONFIG_DEBUG_FS) */
|
|
|
|
|
|
static void sde_rsc_deinit(struct platform_device *pdev,
|
|
|
struct sde_rsc_priv *rsc)
|