MTP: changes to use new usb_request support in libusbhost
Change-Id: Ic091eab166a66efcde0395dcebbbc513f2322fca
Signed-off-by: Mike Lockwood <lockwood@android.com>
diff --git a/media/mtp/MtpPacket.h b/media/mtp/MtpPacket.h
index 73963a3..0ffb1d3 100644
--- a/media/mtp/MtpPacket.h
+++ b/media/mtp/MtpPacket.h
@@ -19,7 +19,7 @@
#include "MtpTypes.h"
-struct usb_endpoint;
+struct usb_request;
namespace android {
@@ -57,7 +57,7 @@
void setParameter(int index, uint32_t value);
#ifdef MTP_HOST
- int transfer(struct usb_endpoint *ep, void* buffer, int length);
+ int transfer(struct usb_request* request);
#endif
protected: