diff options
| author | Simon Glass <[email protected]> | 2023-05-05 20:03:03 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2023-05-13 09:52:32 -0400 |
| commit | 9fea3a799dde140f2d75eeb4560a5c3237ca991d (patch) | |
| tree | 79227017c2014878496cc4838ca5db2c89f2a5eb /cmd/usb.c | |
| parent | 76afc8457eb2f55771d9c9e2ba6106bac43a166b (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 'cmd/usb.c')
| -rw-r--r-- | cmd/usb.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/cmd/usb.c b/cmd/usb.c index 73addb04c49..61937283840 100644 --- a/cmd/usb.c +++ b/cmd/usb.c @@ -620,7 +620,6 @@ static int do_usb(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) { struct usb_device *udev = NULL; int i; - extern char usb_started; if (argc < 2) return CMD_RET_USAGE; |
