summaryrefslogtreecommitdiffstats
path: root/media/mtp/MtpPacket.h
diff options
context:
space:
mode:
Diffstat (limited to 'media/mtp/MtpPacket.h')
-rw-r--r--media/mtp/MtpPacket.h4
1 files changed, 2 insertions, 2 deletions
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 @@ public:
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: