diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2017-07-19 13:51:09 (GMT) |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2017-07-28 21:34:29 (GMT) |
commit | dfa96e06761e223288e59d7a3e1d574f014b5a0d (patch) | |
tree | ec6c915579a27f37ba35088f107dde21f98de735 /cmd/usb_mass_storage.c | |
parent | 5e941943d88aebcfc2e9c8a0801061d39e218bb5 (diff) | |
download | u-boot-fsl-qoriq-dfa96e06761e223288e59d7a3e1d574f014b5a0d.tar.xz |
usb: hub: Use 'struct usb_hub_device' as hub device's uclass_priv
Use USB hub device's dev->uclass_priv to point to 'usb_hub_device'
so that with driver model usb_hub_reset() and usb_hub_allocate()
are no longer needed.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'cmd/usb_mass_storage.c')
0 files changed, 0 insertions, 0 deletions