aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorMike Lockwood <lockwood@android.com>2011-09-26 22:32:01 -0700
committerPraneeth Bajjuri <praneeth@ti.com>2011-09-26 22:33:45 -0700
commit1ac63eca970fd77f3563fdae80fdbe10c423ff55 (patch)
treef71fd38a83a80453db74b997b3d4b41e3c5bcf31 /include/linux
parent4e07805158d1f71bd67990147d5a0fb78470c126 (diff)
USB: gadget: f_mtp: Add PTP variant of MTP USB function
This is the same as MTP but with PTP interface descriptor. Also removed obsolete ioctl for switching between MTP and PTP mode Change-Id: Iceb82bb327b2c9c1bb3a97a4e0255490d47f20f5 Signed-off-by: Mike Lockwood <lockwood@android.com> Merge conflict resolve: Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/usb/f_mtp.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/usb/f_mtp.h b/include/linux/usb/f_mtp.h
index 3f1795def0a..3c6a58bd4ec 100644
--- a/include/linux/usb/f_mtp.h
+++ b/include/linux/usb/f_mtp.h
@@ -18,9 +18,6 @@
#ifndef __LINUX_USB_F_MTP_H
#define __LINUX_USB_F_MTP_H
-/* Constants for MTP_SET_INTERFACE_MODE */
-#define MTP_INTERFACE_MODE_MTP 0
-#define MTP_INTERFACE_MODE_PTP 1
#include <linux/ioctl.h>
@@ -69,8 +66,6 @@ struct mtp_event {
* The file is created if it does not exist.
*/
#define MTP_RECEIVE_FILE _IOW('M', 1, struct mtp_file_range)
-/* Sets the driver mode to either MTP or PTP */
-#define MTP_SET_INTERFACE_MODE _IOW('M', 2, int)
/* Sends an event to the host via the interrupt endpoint */
#define MTP_SEND_EVENT _IOW('M', 3, struct mtp_event)
/* Sends the specified file range to the host,