asoc: lahaina: Fix compilation issues when DEBUG_FS is disabled

Fix the compilation issues in audio drivers when CONFIG_DEBUG_FS
is disabled.

Change-Id: I6eeb2b36b054ba30431f7b045c182888997dc331
Signed-off-by: Prakruthi Deepak Heragu <pheragu@codeaurora.org>
This commit is contained in:
Prakruthi Deepak Heragu
2020-04-08 15:27:37 -07:00
parent f34687bd3a
commit 6b2d8c3234
7 changed files with 57 additions and 35 deletions

View File

@@ -1117,9 +1117,9 @@ static int __init apr_debug_init(void)
}
#else
static int __init apr_debug_init(void)
(
{
return 0;
)
}
#endif
static void apr_cleanup(void)
@@ -1140,7 +1140,9 @@ static void apr_cleanup(void)
mutex_destroy(&client[i][j].svc[k].m_lock);
}
}
#ifdef CONFIG_DEBUG_FS
debugfs_remove(debugfs_apr_debug);
#endif
}
static int apr_probe(struct platform_device *pdev)