From: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] mips: Fix compiler warning in cpu.c
Date: Fri, 6 May 2016 12:50:12 +0200 [thread overview]
Message-ID: <572C76E4.3070603@gmail.com> (raw)
In-Reply-To: <1462472040-6297-1-git-send-email-marex@denx.de>
Am 05.05.2016 um 20:14 schrieb Marek Vasut:
> There really is zero reason for including netdev.h in generic mips CPU code.
> Removing the netdev.h from cpu.c also fixes the following compiler warning:
>
> In file included from arch/mips/cpu/cpu.c:10:0:
> include/netdev.h:204:41: warning: 'struct eth_device' declared inside parameter list [enabled by default]
> int fecmxc_register_mii_postcall(struct eth_device *dev, int (*cb)(int));
> ^
> include/netdev.h:204:41: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
>
> Signed-off-by: Marek Vasut <marex@denx.de>
> Cc: Paul Burton <paul.burton@imgtec.com>
> Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
> ---
> arch/mips/cpu/cpu.c | 1 -
> 1 file changed, 1 deletion(-)
applied to u-boot-mips/next, thanks
--
- Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160506/adfa07a4/attachment.sig>
prev parent reply other threads:[~2016-05-06 10:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-05 18:14 [U-Boot] [PATCH] mips: Fix compiler warning in cpu.c Marek Vasut
2016-05-06 10:50 ` Daniel Schwierzeck [this message]
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=572C76E4.3070603@gmail.com \
--to=daniel.schwierzeck@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.