summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2023-05-05 20:03:03 -0600
committerTom Rini <[email protected]>2023-05-13 09:52:32 -0400
commit9fea3a799dde140f2d75eeb4560a5c3237ca991d (patch)
tree79227017c2014878496cc4838ca5db2c89f2a5eb /drivers
parent76afc8457eb2f55771d9c9e2ba6106bac43a166b (diff)
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 <[email protected]> Reviewed-by: Marek Vasut <[email protected]> Reviewed-by: Patrick Delaunay <[email protected]>
Diffstat (limited to 'drivers')
-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 28f7ca9654d..02c0138a206 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 {