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/MtpRequestPacket.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/MtpRequestPacket.h')
-rw-r--r-- | media/mtp/MtpRequestPacket.h | 4 |
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(); } |