]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
net: zynq: Fix sparse warnings in gem
authorMichal Simek <michal.simek@xilinx.com>
Fri, 25 Apr 2014 12:17:38 +0000 (14:17 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 6 May 2014 11:41:55 +0000 (13:41 +0200)
Add missing header.

Warnings:
drivers/net/zynq_gem.c:491:5: warning: symbol 'zynq_gem_initialize' was not declared. Should it be static?
drivers/net/zynq_gem.c:542:5: warning: symbol 'zynq_gem_of_init' was not declared. Should it be static?

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/net/zynq_gem.c

index 08056a4bac19bf78a483ac958929595f017d8194..3cadd23bb46aa77529b9a15909f20409588eb4e9 100644 (file)
@@ -11,6 +11,7 @@
 
 #include <common.h>
 #include <net.h>
+#include <netdev.h>
 #include <config.h>
 #include <fdtdec.h>
 #include <libfdt.h>