diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2017-07-19 21:51:09 +0800 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2017-07-28 23:34:29 +0200 |
commit | dfa96e06761e223288e59d7a3e1d574f014b5a0d (patch) | |
tree | ec6c915579a27f37ba35088f107dde21f98de735 /include/usb.h | |
parent | 5e941943d88aebcfc2e9c8a0801061d39e218bb5 (diff) |
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 'include/usb.h')
0 files changed, 0 insertions, 0 deletions