From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] dm: blk: Fix warning on !CONFIG_BLK
Date: Sat, 10 Jun 2017 18:01:03 -0400 [thread overview]
Message-ID: <20170610220103.GN10782@bill-the-cat> (raw)
In-Reply-To: <1497103406-1920-1-git-send-email-trini@konsulko.com>
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 <trini@konsulko.com>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170610/ae1a1d51/attachment.sig>
next prev parent reply other threads:[~2017-06-10 22:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20170609112846epcas1p1db6eece58f727344e6789e434afa09c9@epcas1p1.samsung.com>
2017-06-09 11:28 ` [U-Boot] [GIT PULL] Please pull u-boot-mmc master Jaehoon Chung
2017-06-10 14:03 ` [U-Boot] [PATCH] dm: blk: Fix warning on !CONFIG_BLK Tom Rini
2017-06-10 22:01 ` Tom Rini [this message]
2017-06-10 22:00 ` [U-Boot] [GIT PULL] Please pull u-boot-mmc master Tom Rini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170610220103.GN10782@bill-the-cat \
--to=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox