From 9fea3a799dde140f2d75eeb4560a5c3237ca991d Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Fri, 5 May 2023 20:03:03 -0600 Subject: 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 Reviewed-by: Marek Vasut Reviewed-by: Patrick Delaunay --- drivers/usb/host/usb-uclass.c | 1 - 1 file changed, 1 deletion(-) (limited to 'drivers') 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 #include -extern bool usb_started; /* flag for the started/stopped USB status */ static bool asynch_allowed; struct usb_uclass_priv { -- cgit v1.2.3