]> git.sur5r.net Git - u-boot/commit
ARM64: zynqmp: Remove netdev.h from board file
authorMichal Simek <michal.simek@xilinx.com>
Mon, 11 Apr 2016 09:44:40 +0000 (11:44 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 13 Apr 2016 16:29:05 +0000 (18:29 +0200)
commit52be5c05a06fc533655f63f1d1dd37b3b9e71231
tree87ceb859d64e4e324fdb38d6c58e09a7538c466d
parent658b3a563983281b6617f57b6bf2aee2c92a2101
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 <michal.simek@xilinx.com>
board/xilinx/zynqmp/zynqmp.c