summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/ipc_logging.h3
-rw-r--r--include/uapi/media/msmb_camera.h4
2 files changed, 6 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
diff --git a/include/uapi/media/msmb_camera.h b/include/uapi/media/msmb_camera.h
index 4b23806071d4..47d5a998e139 100644
--- a/include/uapi/media/msmb_camera.h
+++ b/include/uapi/media/msmb_camera.h
@@ -116,6 +116,10 @@
#define MSM_CAMERA_ERR_MAPPING (MSM_CAMERA_ERR_EVT_BASE + 2)
#define MSM_CAMERA_ERR_DEVICE_BUSY (MSM_CAMERA_ERR_EVT_BASE + 3)
+/* data.status - success values should be same as above*/
+#define MSM_CAMERA_CMD_SUCCESS 0x00000001
+#define MSM_CAMERA_BUF_MAP_SUCCESS 0x00000002
+
/* The msm_v4l2_event_data structure should match the
* v4l2_event.u.data field.
* should not exceed 16 elements */