mirror of
https://github.com/linux-sunxi/u-boot-sunxi.git
synced 2024-02-12 11:16:03 +08:00
dm: block: Rename device number member dev to devnum
This is a device number, and we want to use 'dev' to mean a driver model device. Rename the member. 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:
@ -45,7 +45,7 @@ int common_diskboot(cmd_tbl_t *cmdtp, const char *intf, int argc,
|
||||
return 1;
|
||||
}
|
||||
|
||||
dev = dev_desc->dev;
|
||||
dev = dev_desc->devnum;
|
||||
bootstage_mark(BOOTSTAGE_ID_IDE_TYPE);
|
||||
|
||||
printf("\nLoading from %s device %d, partition %d: "
|
||||
|
Reference in New Issue
Block a user