diff options
author | Mike Lockwood <lockwood@android.com> | 2011-10-01 14:44:26 +0100 |
---|---|---|
committer | Andy Green <andy.green@linaro.org> | 2011-10-02 09:39:32 +0100 |
commit | 9c6687b0cb332ac37eaaffd37c724a8561e27e05 (patch) | |
tree | d6b8d11fc2e5fa37bf96e9cb44947a8d56ab70c5 /include | |
parent | ceb083d6234385aac67d95711d1b70b9a30ccfd0 (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
Signed-off-by: Mike Lockwood <lockwood@android.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/usb/f_mtp.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/usb/f_mtp.h b/include/linux/usb/f_mtp.h index e4fd8806638..fdf828c4925 100644 --- a/include/linux/usb/f_mtp.h +++ b/include/linux/usb/f_mtp.h @@ -18,10 +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 - struct mtp_file_range { /* file descriptor for file to transfer */ @@ -45,8 +41,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) |