summaryrefslogtreecommitdiff
path: root/ipc
diff options
context:
space:
mode:
authorLaxminath Kasam <lkasam@codeaurora.org>2020-05-20 10:10:21 +0530
committerLaxminath Kasam <lkasam@codeaurora.org>2020-05-20 13:00:49 +0530
commite65c93c8f122dcdee4b70bff1eab39ef3380a9ad (patch)
tree65ca4638f9b29ba8f2fe5a3237cba3ffe5d55e3e /ipc
parent127718f3d91c46368fbb5a48fc6d04e3fcd66f68 (diff)
downloadmsm-extra-e65c93c8f122dcdee4b70bff1eab39ef3380a9ad.tar.gz
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>
Diffstat (limited to 'ipc')
-rw-r--r--ipc/apr_vm.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/ipc/apr_vm.c b/ipc/apr_vm.c
index f94e3a22..1b66013b 100644
--- a/ipc/apr_vm.c
+++ b/ipc/apr_vm.c
@@ -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)