bootstd: Export bootdev_get_from_blk()
Export this function so it can be used from other files. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -319,7 +319,7 @@ int bootdev_get_sibling_blk(struct udevice *dev, struct udevice **blkp)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int bootdev_get_from_blk(struct udevice *blk, struct udevice **bootdevp)
|
||||
int bootdev_get_from_blk(struct udevice *blk, struct udevice **bootdevp)
|
||||
{
|
||||
struct udevice *parent = dev_get_parent(blk);
|
||||
struct udevice *bootdev;
|
||||
|
||||
Reference in New Issue
Block a user