summaryrefslogtreecommitdiffstats
path: root/media/mtp/MtpEventPacket.h
diff options
context:
space:
mode:
authorMike Lockwood <lockwood@android.com>2011-01-04 14:48:57 -0500
committerMike Lockwood <lockwood@android.com>2011-01-06 11:46:55 -0500
commit42d0b79a787814d42e4c6f9dfe14f13cc0f6a758 (patch)
tree9cb2c20fb8bf7d6b53c093c8e3dceb5dc0374523 /media/mtp/MtpEventPacket.h
parentd1108d74e13a74dc72e49513e0393e924f3d112c (diff)
downloadframeworks_av-42d0b79a787814d42e4c6f9dfe14f13cc0f6a758.zip
frameworks_av-42d0b79a787814d42e4c6f9dfe14f13cc0f6a758.tar.gz
frameworks_av-42d0b79a787814d42e4c6f9dfe14f13cc0f6a758.tar.bz2
MTP: changes to use new usb_request support in libusbhost
Change-Id: Ic091eab166a66efcde0395dcebbbc513f2322fca Signed-off-by: Mike Lockwood <lockwood@android.com>
Diffstat (limited to 'media/mtp/MtpEventPacket.h')
-rw-r--r--media/mtp/MtpEventPacket.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/media/mtp/MtpEventPacket.h b/media/mtp/MtpEventPacket.h
index 30ae869..660baad 100644
--- a/media/mtp/MtpEventPacket.h
+++ b/media/mtp/MtpEventPacket.h
@@ -34,8 +34,8 @@ public:
#endif
#ifdef MTP_HOST
- // read our buffer from the given endpoint
- int read(struct usb_endpoint *ep);
+ // read our buffer with the given request
+ int read(struct usb_request *request);
#endif
inline MtpEventCode getEventCode() const { return getContainerCode(); }