mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 21:59:12 -04:00
audio-kernel: Fix compile with CONFIG_DEBUG_FS removed
Add fix for compilation failure after remove CONFIG_DEBUG_FS. Change-Id: I94f851916e1c397848aa5d107774f7480a74270f Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
This commit is contained in:
parent
127718f3d9
commit
e65c93c8f1
1 changed files with 5 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
|||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
/*
|
||||
* Copyright (c) 2010-2014, 2016-2019 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2010-2014, 2016-2020 The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
|
||||
#include <linux/kernel.h>
|
||||
|
|
@ -1308,9 +1308,9 @@ static int __init apr_debug_init(void)
|
|||
}
|
||||
#else
|
||||
static int __init apr_debug_init(void)
|
||||
(
|
||||
{
|
||||
return 0;
|
||||
)
|
||||
}
|
||||
#endif
|
||||
|
||||
static void apr_cleanup(void)
|
||||
|
|
@ -1331,7 +1331,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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue