]> git.baikalelectronics.ru Git - kernel.git/commitdiff
pch_gbe: add header files
authorRandy Dunlap <randy.dunlap@oracle.com>
Tue, 28 Sep 2010 17:34:27 +0000 (10:34 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 28 Sep 2010 17:34:27 +0000 (10:34 -0700)
Fix build errors, more header files needed.

drivers/net/pch_gbe/pch_gbe_main.c:965: error: implicit declaration of function 'tcp_hdr'
drivers/net/pch_gbe/pch_gbe_main.c:965: error: invalid type argument of '->' (have 'int')
drivers/net/pch_gbe/pch_gbe_main.c:968: error: invalid type argument of '->' (have 'int')
drivers/net/pch_gbe/pch_gbe_main.c:976: error: implicit declaration of function 'udp_hdr'
drivers/net/pch_gbe/pch_gbe_main.c:976: error: invalid type argument of '->' (have 'int')
drivers/net/pch_gbe/pch_gbe_main.c:980: error: invalid type argument of '->' (have 'int')

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/pch_gbe/pch_gbe.h

index b925ab359fc397a22cd15196db1d86ef2b9de99f..9a940a940a4aa3e16130c68a7227299248cd727c 100644 (file)
@@ -31,6 +31,8 @@
 #include <linux/ethtool.h>
 #include <linux/vmalloc.h>
 #include <net/ip.h>
+#include <net/tcp.h>
+#include <net/udp.h>
 
 /**
  * pch_gbe_regs_mac_adr - Structure holding values of mac address registers