summaryrefslogtreecommitdiffstats
path: root/media/mtp/MtpRequestPacket.h
diff options
context:
space:
mode:
Diffstat (limited to 'media/mtp/MtpRequestPacket.h')
-rw-r--r--media/mtp/MtpRequestPacket.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/media/mtp/MtpRequestPacket.h b/media/mtp/MtpRequestPacket.h
index df518f2..1201f11 100644
--- a/media/mtp/MtpRequestPacket.h
+++ b/media/mtp/MtpRequestPacket.h
@@ -20,6 +20,8 @@
#include "MtpPacket.h"
#include "mtp.h"
+struct usb_request;
+
namespace android {
class MtpRequestPacket : public MtpPacket {
@@ -35,7 +37,7 @@ public:
#ifdef MTP_HOST
// write our buffer to the given endpoint
- int write(struct usb_endpoint *ep);
+ int write(struct usb_request *request);
#endif
inline MtpOperationCode getOperationCode() const { return getContainerCode(); }