aboutsummaryrefslogtreecommitdiff
path: root/include/part.h
diff options
context:
space:
mode:
authorMarek Vasut2023-08-14 01:46:47 +0200
committerTom Rini2023-08-22 15:17:52 -0400
commit804f7d63f26c00a64e2945fced4841abf200c0c0 (patch)
tree406cbe7262428e329ec0c4dbb090481316024a6d /include/part.h
parent30a12e080104dc7cbdead7e9adc4f5ec4f7a3c40 (diff)
disk: Move part_create_block_devices() to blk uclass
Move part_create_block_devices() to blk uclass and unexpose the function. This can now be internal to the block uclass. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Diffstat (limited to 'include/part.h')
-rw-r--r--include/part.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/part.h b/include/part.h
index 8e451bbdff9..be144768777 100644
--- a/include/part.h
+++ b/include/part.h
@@ -316,15 +316,6 @@ int part_get_bootable(struct blk_desc *desc);
struct udevice;
/**
- * part_create_block_devices - Create block devices for disk partitions
- *
- * Create UCLASS_PARTITION udevices for each of disk partitions in @parent
- *
- * @blk_dev: Whole disk device
- */
-int part_create_block_devices(struct udevice *blk_dev);
-
-/**
* disk_blk_read() - read blocks from a disk partition
*
* @dev: Device to read from (UCLASS_PARTITION)