mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 08:42:12 +02:00
blk: Drop blk_prepare_device()
With the post_probe() changes, this API is no longer needed. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -356,16 +356,6 @@ int blk_create_devicef(struct udevice *parent, const char *drv_name,
|
||||
const char *name, int if_type, int devnum, int blksz,
|
||||
lbaint_t lba, struct udevice **devp);
|
||||
|
||||
/**
|
||||
* blk_prepare_device() - Prepare a block device for use
|
||||
*
|
||||
* This reads partition information from the device if supported.
|
||||
*
|
||||
* @dev: Device to prepare
|
||||
* @return 0 if ok, -ve on error
|
||||
*/
|
||||
int blk_prepare_device(struct udevice *dev);
|
||||
|
||||
/**
|
||||
* blk_unbind_all() - Unbind all device of the given interface type
|
||||
*
|
||||
|
Reference in New Issue
Block a user