dm: part: Rename some partition functions
Rename three partition functions so that they start with part_. This makes it clear what they relate to. Signed-off-by: Simon Glass <sjg@chromium.org> Tested-by: Stephen Warren <swarren@nvidia.com>
This commit is contained in:
@@ -965,7 +965,7 @@ int scan_sata(int dev)
|
||||
/* Probe device and set xfer mode */
|
||||
bfin_ata_identify(ap, dev%PATA_DEV_NUM_PER_PORT);
|
||||
bfin_ata_set_Feature_cmd(ap, dev%PATA_DEV_NUM_PER_PORT);
|
||||
init_part(&sata_dev_desc[dev]);
|
||||
part_init(&sata_dev_desc[dev]);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -98,7 +98,7 @@ int host_dev_bind(int dev, char *filename)
|
||||
blk_dev->block_write = host_block_write;
|
||||
blk_dev->dev = dev;
|
||||
blk_dev->part_type = PART_TYPE_UNKNOWN;
|
||||
init_part(blk_dev);
|
||||
part_init(blk_dev);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -124,7 +124,7 @@ struct blk_desc *systemace_get_dev(int dev)
|
||||
*/
|
||||
ace_writew(width == 8 ? 0 : 0x0001, 0);
|
||||
|
||||
init_part(&systemace_dev);
|
||||
part_init(&systemace_dev);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user