]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
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)
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

index 529476b0826892d6c193ff27d54d4ba1e545cb4c..132d724fbdf8a9638dbe21a8d95d867fe8fb186d 100644 (file)
@@ -6,7 +6,6 @@
  */
 
 #include <common.h>
-#include <netdev.h>
 #include <sata.h>
 #include <ahci.h>
 #include <scsi.h>