summaryrefslogtreecommitdiff
path: root/drivers/usb
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-05-06 05:03:03 +0300
committerTom Rini <trini@konsulko.com>2023-05-13 16:52:32 +0300
commit9fea3a799dde140f2d75eeb4560a5c3237ca991d (patch)
tree79227017c2014878496cc4838ca5db2c89f2a5eb /drivers/usb
parent76afc8457eb2f55771d9c9e2ba6106bac43a166b (diff)
downloadu-boot-9fea3a799dde140f2d75eeb4560a5c3237ca991d.tar.xz
usb: Tidy up the usb_start flag
This should be declared in a header file so that type-checking works correctly. Add a single declaration to usb.h and remove the others. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Marek Vasut <marex@denx.de> Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/host/usb-uclass.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/host/usb-uclass.c b/drivers/usb/host/usb-uclass.c
index 28f7ca9654..02c0138a20 100644
--- a/drivers/usb/host/usb-uclass.c
+++ b/drivers/usb/host/usb-uclass.c
@@ -18,7 +18,6 @@
#include <dm/lists.h>
#include <dm/uclass-internal.h>
-extern bool usb_started; /* flag for the started/stopped USB status */
static bool asynch_allowed;
struct usb_uclass_priv {