diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2018-10-26 10:14:57 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2018-10-26 11:27:06 +0200 |
commit | e44fddbd8965f40e09082763013da2957f8bc8e0 (patch) | |
tree | bc8f5b66e38fbb8831e0bcfb2666aaafa53041f2 /include/usb | |
parent | 5d91d9982b33d00960124c120fd406594bea0f26 (diff) | |
download | barebox-e44fddbd8965f40e09082763013da2957f8bc8e0.tar.gz barebox-e44fddbd8965f40e09082763013da2957f8bc8e0.tar.xz |
usb: Add usb_unregister_host()
We have usb_register_host() which puts a new host on the list
of hosts we should also have the opposite which removes the
host from the list again.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/usb')
-rw-r--r-- | include/usb/usb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/usb/usb.h b/include/usb/usb.h index 9aab06c87c..eb2eeb8db3 100644 --- a/include/usb/usb.h +++ b/include/usb/usb.h @@ -157,6 +157,7 @@ struct usb_host { }; int usb_register_host(struct usb_host *); +void usb_unregister_host(struct usb_host *host); int usb_host_detect(struct usb_host *host); |