diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2012-06-20 17:57:19 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-06-30 12:46:25 +0200 |
commit | fc52e7e4806360afb1efcc7aa6b47f632cacefb4 (patch) | |
tree | b0dc74d0201423e6e456ba43b89eae004cc8e155 /include/usb/usb.h | |
parent | 887c7d5c38b7a0e1aa007c47221d48b12179239f (diff) | |
download | barebox-fc52e7e4806360afb1efcc7aa6b47f632cacefb4.tar.gz barebox-fc52e7e4806360afb1efcc7aa6b47f632cacefb4.tar.xz |
USB core: allocate setup_packet using dma_alloc
The setup packet needs to be dma save.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/usb/usb.h')
-rw-r--r-- | include/usb/usb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/usb/usb.h b/include/usb/usb.h index 296e4e8ea8..f836593c20 100644 --- a/include/usb/usb.h +++ b/include/usb/usb.h @@ -161,6 +161,7 @@ struct usb_device { int configno; /* selected config number */ struct usb_device_descriptor descriptor; /* Device Descriptor */ struct usb_config_descriptor config; /* config descriptor */ + struct devrequest *setup_packet; int have_langid; /* whether string_langid is valid yet */ int string_langid; /* language ID for strings */ |