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
commit215b682b8a02ac51d820b8e301d50431bdd09b3d (patch)
tree4c59b4fccfa2ffc83d0c872691c612edab591d74 /media/mtp/MtpEventPacket.h
parentfaba502a8d0547184fe8041f29add83345a07be1 (diff)
downloadframeworks_base-215b682b8a02ac51d820b8e301d50431bdd09b3d.zip
frameworks_base-215b682b8a02ac51d820b8e301d50431bdd09b3d.tar.gz
frameworks_base-215b682b8a02ac51d820b8e301d50431bdd09b3d.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(); }