summaryrefslogtreecommitdiff
path: root/test/dm
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 /test/dm
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 'test/dm')
-rw-r--r--test/dm/blk.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/test/dm/blk.c b/test/dm/blk.c
index 0aa04c64ef7..446c4423e6f 100644
--- a/test/dm/blk.c
+++ b/test/dm/blk.c
@@ -16,9 +16,6 @@
DECLARE_GLOBAL_DATA_PTR;
-/* Allow resetting the USB-started flag */
-extern char usb_started;
-
/* Test that block devices can be created */
static int dm_test_blk_base(struct unit_test_state *uts)
{