commit | eab46c4624613bedee0e8bfbe1db81c9bc05f19f | [log] [tgz] |
---|---|---|
author | Badhri Jagan Sridharan <Badhri@google.com> | Mon Nov 17 21:11:23 2014 -0800 |
committer | Dmitry Shmidt <dimitrysh@google.com> | Fri Jan 27 13:49:07 2017 -0800 |
tree | aa0fdbac4ef5f0e7ae909f38c3524d2ef6eb40cd | |
parent | be102d9252827d9311f9f6c3e5ce794436f444c9 [diff] |
ANDROID: usb: gadget: mtp/ptp: Migrate functions to the USB_FUNCTION interface This patch adds support to use mtp/ptp gadget functions through the DECLARE_USB_FUNCTION_INIT interface. enabling USB_CONFIGFS_F_MTP config compiles f_mtp.c thereby providing support for MTP gadget enabling USB_CONFIGFS_F_PTP config compiles f_ptp.c thereby providing support for PTP gadget Signed-off-by: Badhri Jagan Sridharan <badhri@google.com> Change-Id: I38d7b570e8886d155ef10cd2c839b2232dcb3158