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:
@@ -122,7 +122,7 @@ static int mmc_load_image_raw_partition(struct mmc *mmc, int partition)
|
||||
disk_partition_t info;
|
||||
int err;
|
||||
|
||||
err = get_partition_info(&mmc->block_dev, partition, &info);
|
||||
err = part_get_info(&mmc->block_dev, partition, &info);
|
||||
if (err) {
|
||||
#ifdef CONFIG_SPL_LIBCOMMON_SUPPORT
|
||||
puts("spl: partition error\n");
|
||||
|
||||
Reference in New Issue
Block a user