summaryrefslogtreecommitdiff
path: root/arch/mips
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2016-05-05 20:14:00 +0200
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2016-05-21 01:36:38 +0200
commit5760fc7850a9ad98a8852200ea879bfccd66df26 (patch)
treec4568735a0a8a917de9d637f6ee8025bb13e3f89 /arch/mips
parent59e4080c7e4d85bd29c343ea9167794feceadc3e (diff)
downloadu-boot-imx-5760fc7850a9ad98a8852200ea879bfccd66df26.zip
u-boot-imx-5760fc7850a9ad98a8852200ea879bfccd66df26.tar.gz
u-boot-imx-5760fc7850a9ad98a8852200ea879bfccd66df26.tar.bz2
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 <marex@denx.de> Cc: Paul Burton <paul.burton@imgtec.com> Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/cpu/cpu.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/mips/cpu/cpu.c b/arch/mips/cpu/cpu.c
index 8d3b2f5..391feb3 100644
--- a/arch/mips/cpu/cpu.c
+++ b/arch/mips/cpu/cpu.c
@@ -7,7 +7,6 @@
#include <common.h>
#include <command.h>
-#include <netdev.h>
#include <linux/compiler.h>
#include <asm/mipsregs.h>
#include <asm/reboot.h>