msm-4.14/include/media/msmb_camera.h
Abhishek Jain 5f7e75aebe msm: camera: Port msm-4.9 camera kernel on msm-4.14 kernel
This snapshot is taken from msm-4.9 branch as of:
'1f2808a Merge "msm: camera: fix i2c eeprom probe failed"'.

Change-Id: I3b8ecd78d4e31eac1924d53cc2b3ad2c28c2c826
Signed-off-by: Abhishek Jain <abhij@codeaurora.org>
2018-12-14 13:46:35 +05:30

37 lines
1.1 KiB
C

/* Copyright (c) 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
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef __LINUX_MSMB_CAMERA_H
#define __LINUX_MSMB_CAMERA_H
#include <uapi/media/msmb_camera.h>
#ifdef CONFIG_COMPAT
#define MSM_CAM_V4L2_IOCTL_NOTIFY32 \
_IOW('V', BASE_VIDIOC_PRIVATE + 30, struct v4l2_event32)
#define MSM_CAM_V4L2_IOCTL_NOTIFY_META32 \
_IOW('V', BASE_VIDIOC_PRIVATE + 31, struct v4l2_event32)
#define MSM_CAM_V4L2_IOCTL_CMD_ACK32 \
_IOW('V', BASE_VIDIOC_PRIVATE + 32, struct v4l2_event32)
#define MSM_CAM_V4L2_IOCTL_NOTIFY_ERROR32 \
_IOW('V', BASE_VIDIOC_PRIVATE + 33, struct v4l2_event32)
#define MSM_CAM_V4L2_IOCTL_NOTIFY_DEBUG32 \
_IOW('V', BASE_VIDIOC_PRIVATE + 34, struct v4l2_event32)
#endif
#endif