mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 12:25:00 -04:00
net: fix driver build errors due to missing net/ip6_checksum.h include
2.6.27-git2 kernel build fails with allyesconfig on powerpc with build error <introduced by commit01f2e4ead2> CC drivers/net/enic/enic_main.o drivers/net/enic/enic_main.c: In function âenic_queue_wq_skb_tsoâ: drivers/net/enic/enic_main.c:576: error: implicit declaration of function âcsum_ipv6_magicâ make[3]: *** [drivers/net/enic/enic_main.o] Error 1 <introduced by commitc4e84bde1d> drivers/net/qlge/qlge_main.c: In function âql_tsoâ: drivers/net/qlge/qlge_main.c:1862: error: implicit declaration of function âcsum_ipv6_magicâ make[3]: *** [drivers/net/qlge/qlge_main.o] Error 1 <introduced by commit95252236e7> drivers/net/jme.c: In function âjme_tx_tsoâ: drivers/net/jme.c:1784: error: implicit declaration of function âcsum_ipv6_magicâ make[2]: *** [drivers/net/jme.o] Error 1 Signed-off-by: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com> Signed-off-by: Ron Mercer <ron.mercer@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
bf94e17bc8
commit
b7c6bfb710
3 changed files with 3 additions and 0 deletions
|
|
@ -34,6 +34,7 @@
|
|||
#include <linux/ip.h>
|
||||
#include <linux/ipv6.h>
|
||||
#include <linux/tcp.h>
|
||||
#include <net/ip6_checksum.h>
|
||||
|
||||
#include "cq_enet_desc.h"
|
||||
#include "vnic_dev.h"
|
||||
|
|
|
|||
|
|
@ -37,6 +37,7 @@
|
|||
#include <linux/tcp.h>
|
||||
#include <linux/udp.h>
|
||||
#include <linux/if_vlan.h>
|
||||
#include <net/ip6_checksum.h>
|
||||
#include "jme.h"
|
||||
|
||||
static int force_pseudohp = -1;
|
||||
|
|
|
|||
|
|
@ -39,6 +39,7 @@
|
|||
#include <linux/delay.h>
|
||||
#include <linux/mm.h>
|
||||
#include <linux/vmalloc.h>
|
||||
#include <net/ip6_checksum.h>
|
||||
|
||||
#include "qlge.h"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue