On Sat, Jun 10, 2017 at 10:03:26AM -0400, Tom Rini wrote:

> When we don't have CONFIG_BLK defined we don't have a forward
> declaration of struct udevice, and thus get a warning about it on
> blk_get_from_parent(), which we only have when CONFIG_BLK is set.  Move
> the declaration of blk_get_from_parent() to be with the other CONFIG_BLK
> parts.
> 
> Fixes 9f103b9cb5f8 ("dm: blk: Add a way to obtain a block device from ...")
> Signed-off-by: Tom Rini <tr...@konsulko.com>

Applied to u-boot/master, thanks!

-- 
Tom

Attachment: signature.asc
Description: Digital signature

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to