dm: Drop the block_dev_desc_t typedef
Use 'struct' instead of a typdef. Also since 'struct block_dev_desc' is long and causes 80-column violations, rename it to struct blk_desc. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Stephen Warren <swarren@nvidia.com>
This commit is contained in:
@@ -39,7 +39,7 @@ DM_TEST(dm_test_usb_base, DM_TESTF_SCAN_PDATA | DM_TESTF_SCAN_FDT);
|
||||
static int dm_test_usb_flash(struct unit_test_state *uts)
|
||||
{
|
||||
struct udevice *dev;
|
||||
block_dev_desc_t *dev_desc;
|
||||
struct blk_desc *dev_desc;
|
||||
char cmp[1024];
|
||||
|
||||
state_set_skip_delays(true);
|
||||
|
||||
Reference in New Issue
Block a user