]> git.dujemihanovic.xyz Git - u-boot.git/commit
usb: Tidy up the usb_start flag
authorSimon Glass <sjg@chromium.org>
Sat, 6 May 2023 02:03:03 +0000 (20:03 -0600)
committerTom Rini <trini@konsulko.com>
Sat, 13 May 2023 13:52:32 +0000 (09:52 -0400)
commit9fea3a799dde140f2d75eeb4560a5c3237ca991d
tree79227017c2014878496cc4838ca5db2c89f2a5eb
parent76afc8457eb2f55771d9c9e2ba6106bac43a166b
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>
cmd/usb.c
common/usb.c
drivers/usb/host/usb-uclass.c
include/usb.h
test/boot/bootdev.c
test/dm/blk.c