diff options
Diffstat (limited to 'test/dm/usb.c')
| -rw-r--r-- | test/dm/usb.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/test/dm/usb.c b/test/dm/usb.c index cbc7899ff97..3a2e52b2b57 100644 --- a/test/dm/usb.c +++ b/test/dm/usb.c @@ -50,7 +50,7 @@ static int dm_test_usb_flash(struct unit_test_state *uts)  	/* Read a few blocks and look for the string we expect */  	ut_asserteq(512, dev_desc->blksz);  	memset(cmp, '\0', sizeof(cmp)); -	ut_asserteq(2, dev_desc->block_read(dev_desc->dev, 0, 2, cmp)); +	ut_asserteq(2, dev_desc->block_read(dev_desc, 0, 2, cmp));  	ut_assertok(strcmp(cmp, "this is a test"));  	return 0; | 
