dm: blk: Rename get_device_and_partition()
[oweals/u-boot.git] / common / env_fat.c
index e88279eb705b79f6cd1fddcde409a5727d909ee5..2f2271035557edf41db89647fdd0aee21ac7d4f8 100644 (file)
@@ -48,7 +48,7 @@ int saveenv(void)
        if (err)
                return err;
 
-       part = get_device_and_partition(FAT_ENV_INTERFACE,
+       part = blk_get_device_part_str(FAT_ENV_INTERFACE,
                                        FAT_ENV_DEVICE_AND_PART,
                                        &dev_desc, &info, 1);
        if (part < 0)
@@ -82,7 +82,7 @@ void env_relocate_spec(void)
        int dev, part;
        int err;
 
-       part = get_device_and_partition(FAT_ENV_INTERFACE,
+       part = blk_get_device_part_str(FAT_ENV_INTERFACE,
                                        FAT_ENV_DEVICE_AND_PART,
                                        &dev_desc, &info, 1);
        if (part < 0)