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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user