From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Schwierzeck Date: Fri, 6 May 2016 12:50:12 +0200 Subject: [U-Boot] [PATCH] mips: Fix compiler warning in cpu.c In-Reply-To: <1462472040-6297-1-git-send-email-marex@denx.de> References: <1462472040-6297-1-git-send-email-marex@denx.de> Message-ID: <572C76E4.3070603@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.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 > Cc: Paul Burton > Cc: Daniel Schwierzeck > --- > 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: