Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 36772a04 authored by Seemanta Dutta's avatar Seemanta Dutta
Browse files

msm: camera: Add support for compat mode in msm.c



Add compat ioctl support to msm.c driver so that 32bit
userspace binaries can make ioctl calls into it.

Change-Id: I9e6971499e749ff6ed7e332da61840abdc97044d
Signed-off-by: default avatarSeemanta Dutta <seemanta@codeaurora.org>
parent ff2b0399
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
/* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
/* Copyright (c) 2012-2014, 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
@@ -848,6 +848,9 @@ static struct v4l2_file_operations msm_fops = {
	.poll   = msm_poll,
	.release = msm_close,
	.ioctl   = video_ioctl2,
#ifdef CONFIG_COMPAT
	.compat_ioctl32 = video_ioctl2,
#endif
};

struct msm_stream *msm_get_stream(unsigned int session_id,