summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2017-06-10 14:01:05 (GMT)
committerTom Rini <trini@konsulko.com>2017-06-10 14:01:05 (GMT)
commit4bdb49a7487d1c46c04e3da3f1f370cde1566aea (patch)
tree97c3025f40453c9c96abbaf8a1e66db9947d1894 /tools
parentd2e1ee686ab16c022d1a3049a35b4ce89a25d34e (diff)
downloadu-boot-fsl-qoriq-4bdb49a7487d1c46c04e3da3f1f370cde1566aea.tar.xz
dm: blk: Fix warning on !CONFIG_BLK
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 <trini@konsulko.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions