summaryrefslogtreecommitdiff
path: root/drivers/net/zynq_gem.c
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2014-04-25 14:17:38 +0200
committerMichal Simek <michal.simek@xilinx.com>2014-05-06 13:41:55 +0200
commit2fd2489b7aa36478433ae2a1f4de9f66e0a80322 (patch)
tree6a70c9c0afc61f9d4553ac90ffacfb3edbac47de /drivers/net/zynq_gem.c
parentc1a9fa4ba67971f45ee106250340963cef7d020a (diff)
net: zynq: Fix sparse warnings in gem
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>
Diffstat (limited to 'drivers/net/zynq_gem.c')
-rw-r--r--drivers/net/zynq_gem.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/zynq_gem.c b/drivers/net/zynq_gem.c
index 08056a4bac..3cadd23bb4 100644
--- a/drivers/net/zynq_gem.c
+++ b/drivers/net/zynq_gem.c
@@ -11,6 +11,7 @@
#include <common.h>
#include <net.h>
+#include <netdev.h>
#include <config.h>
#include <fdtdec.h>
#include <libfdt.h>