summaryrefslogtreecommitdiff
path: root/include/linux/ipc_logging.h
diff options
context:
space:
mode:
authorLei wang <leiwan@codeaurora.org>2018-02-12 15:25:16 +0800
committerGerrit - the friendly Code Review server <code-review@localhost>2018-02-20 00:52:39 -0800
commitc14beab39067e47b73ab1b65b06212b56adf4b1f (patch)
treed0e8f470fd3dd58f548930bce873fe130632affd /include/linux/ipc_logging.h
parenta961632a48ed39c18014debc4201e3ea5b6e3dd0 (diff)
trace: ipc_logging: fix compile error when disable ipc_logging
when disable ipc_logging, stub function use EINVAL defined in errno.h Change-Id: I2aff4427736df9efeeeecb98963627ba27b1aaf3 Signed-off-by: Lei wang <leiwan@codeaurora.org>
Diffstat (limited to 'include/linux/ipc_logging.h')
-rw-r--r--include/linux/ipc_logging.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/ipc_logging.h b/include/linux/ipc_logging.h
index 780a82d2f1b4..f6bf9b1a0505 100644
--- a/include/linux/ipc_logging.h
+++ b/include/linux/ipc_logging.h
@@ -1,4 +1,4 @@
-/* Copyright (c) 2012-2015, The Linux Foundation. All rights reserved.
+/* Copyright (c) 2012-2015, 2018, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
@@ -14,6 +14,7 @@
#define _IPC_LOGGING_H
#include <linux/types.h>
+#include <linux/errno.h>
#define MAX_MSG_SIZE 255