diff options
author | Mike Lockwood <lockwood@android.com> | 2011-01-04 14:48:57 -0500 |
---|---|---|
committer | Mike Lockwood <lockwood@android.com> | 2011-01-06 11:46:55 -0500 |
commit | 215b682b8a02ac51d820b8e301d50431bdd09b3d (patch) | |
tree | 4c59b4fccfa2ffc83d0c872691c612edab591d74 /media/mtp/MtpPacket.h | |
parent | faba502a8d0547184fe8041f29add83345a07be1 (diff) | |
download | frameworks_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/MtpPacket.h')
-rw-r--r-- | media/mtp/MtpPacket.h | 4 |
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: |