diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2010-09-28 13:34:27 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-09-28 13:34:27 -0400 |
commit | fc34ecd07f15358e2b29620fafeb8a6a9528ce79 (patch) | |
tree | 5b3c25809b5d3b1647f946f358f6d3930cc90669 /drivers/net/pch_gbe | |
parent | 4d443a085de2b6bcae5e0a773c63b8731ff27101 (diff) |
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.h | 2 |
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 @@ | |||
31 | #include <linux/ethtool.h> | 31 | #include <linux/ethtool.h> |
32 | #include <linux/vmalloc.h> | 32 | #include <linux/vmalloc.h> |
33 | #include <net/ip.h> | 33 | #include <net/ip.h> |
34 | #include <net/tcp.h> | ||
35 | #include <net/udp.h> | ||
34 | 36 | ||
35 | /** | 37 | /** |
36 | * pch_gbe_regs_mac_adr - Structure holding values of mac address registers | 38 | * pch_gbe_regs_mac_adr - Structure holding values of mac address registers |