From: Marek Vasut Date: Thu, 5 May 2016 18:14:00 +0000 (+0200) Subject: mips: Fix compiler warning in cpu.c X-Git-Tag: v2016.07-rc1~178^2~14 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5760fc7850a9ad98a8852200ea879bfccd66df26;p=u-boot mips: Fix compiler warning in cpu.c 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 --- diff --git a/arch/mips/cpu/cpu.c b/arch/mips/cpu/cpu.c index 8d3b2f5c2b..391feb3250 100644 --- a/arch/mips/cpu/cpu.c +++ b/arch/mips/cpu/cpu.c @@ -7,7 +7,6 @@ #include #include -#include #include #include #include