diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2017-07-19 13:51:11 (GMT) |
---|---|---|
committer | Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> | 2017-08-08 08:42:23 (GMT) |
commit | 8f967498d9f7fb19167445fd32be0fc48018edb7 (patch) | |
tree | ffd9bded300ed27220192052f733eb7294ca888b /net/sntp.h | |
parent | 7b23d9c59fe85db47b3be25ee0da72b1d9d9f022 (diff) | |
download | u-boot-8f967498d9f7fb19167445fd32be0fc48018edb7.tar.xz |
usb: hub: Add a new API to test if a hub device is root hub
Sometimes we need know if a given hub device is root hub or not.
Add a new API to test this. This removes the xHCI driver's own
version is_root_hub() and change to use the new API.
While we are here, remove the unused/commented out get_usb_device()
in the xHCI driver too.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'net/sntp.h')
0 files changed, 0 insertions, 0 deletions