usb: gadget: mtp: add new ioctl for compat
authorRohith Seelaboyina <rseelaboyina@nvidia.com>
Wed, 5 Mar 2014 10:40:00 +0000 (16:10 +0530)
committerHuang, Tao <huangtao@rock-chips.com>
Tue, 5 May 2015 09:30:12 +0000 (17:30 +0800)
commit1aab3d20ef27a1fe7c08bf8e2cc5bb4f7eca3d71
tree7926ceb6a11447c814c43599c46b805d22e10498
parent0c278cf19c6fd24b70297100022fc5a3d6df169c
usb: gadget: mtp: add new ioctl for compat

Define a new ioctl for MTP_SEND_EVENT, as its
ioctl numbers depends on the size of struct
mtp_event, which varies in ARCH32 and ARCH64.

Bug 1466403

Change-Id: I1d172aae422ca483b00c6dd59e739166f40c53ce
Signed-off-by: Rohith Seelaboyina <rseelaboyina@nvidia.com>
Reviewed-on: http://git-master/r/377800
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
drivers/usb/gadget/f_mtp.c
include/uapi/linux/usb/f_mtp.h