diff options
author | Daniel Thompson <daniel.thompson@linaro.org> | 2017-07-30 08:09:38 +0100 |
---|---|---|
committer | Daniel Thompson <daniel.thompson@linaro.org> | 2017-07-31 17:26:27 +0100 |
commit | 39ec44379ffc31a78b987d8fb67e96f544d938b5 (patch) | |
tree | 01c061456af7190f05df5dd2fec54550b9842cb6 | |
parent | 9518d414f75c1a02adf448bfa7a685e6a1494e32 (diff) |
include: usb: RDA support
-rw-r--r-- | include/usb.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/usb.h b/include/usb.h index 48e4bcda54..46db5c29a2 100644 --- a/include/usb.h +++ b/include/usb.h @@ -109,7 +109,9 @@ struct usb_device { int epmaxpacketout[16]; /* OUTput endpoint specific maximums */ int configno; /* selected config number */ - struct usb_device_descriptor descriptor; /* Device Descriptor */ + /* Device Descriptor */ + struct usb_device_descriptor descriptor + __attribute__((aligned(ARCH_DMA_MINALIGN))); struct usb_config config; /* config descriptor */ int have_langid; /* whether string_langid is valid yet */ @@ -139,7 +141,8 @@ struct usb_device { defined(CONFIG_USB_SL811HS) || defined(CONFIG_USB_ISP116X_HCD) || \ defined(CONFIG_USB_R8A66597_HCD) || defined(CONFIG_USB_DAVINCI) || \ defined(CONFIG_USB_OMAP3) || defined(CONFIG_USB_DA8XX) || \ - defined(CONFIG_USB_BLACKFIN) || defined(CONFIG_USB_AM35X) + defined(CONFIG_USB_BLACKFIN) || defined(CONFIG_USB_AM35X) || \ + defined(CONFIG_USB_RDA) int usb_lowlevel_init(void); int usb_lowlevel_stop(void); |