[U-Boot] [PATCH 2/2] net: zynq: Fix sparse warnings in gem

Michal Simek michal.simek at xilinx.com
Fri Apr 25 15:45:15 CEST 2014


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 at xilinx.com>
---

 drivers/net/zynq_gem.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/zynq_gem.c b/drivers/net/zynq_gem.c
index 08056a4..3cadd23 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>
--
1.8.2.3

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140425/bdd9a4e5/attachment.pgp>


More information about the U-Boot mailing list