summaryrefslogtreecommitdiffstats
path: root/drivers/net/pch_gbe
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2010-09-28 10:34:27 -0700
committerDavid S. Miller <davem@davemloft.net>2010-09-28 10:34:27 -0700
commitfc34ecd07f15358e2b29620fafeb8a6a9528ce79 (patch)
tree5b3c25809b5d3b1647f946f358f6d3930cc90669 /drivers/net/pch_gbe
parent4d443a085de2b6bcae5e0a773c63b8731ff27101 (diff)
downloadblackbird-op-linux-fc34ecd07f15358e2b29620fafeb8a6a9528ce79.tar.gz
blackbird-op-linux-fc34ecd07f15358e2b29620fafeb8a6a9528ce79.zip
pch_gbe: add header files
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>
Diffstat (limited to 'drivers/net/pch_gbe')
-rw-r--r--drivers/net/pch_gbe/pch_gbe.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/pch_gbe/pch_gbe.h b/drivers/net/pch_gbe/pch_gbe.h
index b925ab359fc3..9a940a940a4a 100644
--- a/drivers/net/pch_gbe/pch_gbe.h
+++ b/drivers/net/pch_gbe/pch_gbe.h
@@ -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
OpenPOWER on IntegriCloud