summaryrefslogtreecommitdiff
path: root/net/net_rand.h
diff options
context:
space:
mode:
authorLucas Stach <dev@lynxeye.de>2012-09-06 08:00:13 +0200
committerMarek Vasut <marex@denx.de>2012-09-21 00:05:00 +0200
commit93ad908c43ed5d8e3e546dd22fa08b668c5090d9 (patch)
treeaf7d9ef75657572108bdc48f671010c82cbcfce3 /net/net_rand.h
parent81c1d7b605e1a48d3c02248c5e51fabcf42f5014 (diff)
usb: do explicit unaligned accesses
usb_hub_descriptor has to be packed as it's used for communication with the device. Member wHubCharacteristics violates the natural alignment rules. Use explicit unaligned access functions for this member. Fixes ARMv7 traping while using USB. v2: fix typo found by Thomas Langer v3: rebased on top of u-boot-usb/master Signed-off-by: Lucas Stach <dev@lynxeye.de>
Diffstat (limited to 'net/net_rand.h')
0 files changed, 0 insertions, 0 deletions