From: Michal Simek Date: Mon, 11 Apr 2016 09:44:40 +0000 (+0200) Subject: ARM64: zynqmp: Remove netdev.h from board file X-Git-Tag: v2016.05-rc2~64^2~16 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=52be5c05a06fc533655f63f1d1dd37b3b9e71231;p=oweals%2Fu-boot.git ARM64: zynqmp: Remove netdev.h from board file Including netdev.h is causing compilation warning: + int fecmxc_register_mii_postcall(struct eth_device *dev, int (*cb)(int)); + ^ w+In file included from ../board/xilinx/zynqmp/zynqmp.c:9:0: w+../include/netdev.h:204:41: warning: ‘struct eth_device’ declared inside parameter list [enabled by default] w+../include/netdev.h:204:41: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default] This patch removes it. Signed-off-by: Michal Simek --- diff --git a/board/xilinx/zynqmp/zynqmp.c b/board/xilinx/zynqmp/zynqmp.c index 529476b082..132d724fbd 100644 --- a/board/xilinx/zynqmp/zynqmp.c +++ b/board/xilinx/zynqmp/zynqmp.c @@ -6,7 +6,6 @@ */ #include -#include #include #include #include