]> git.karo-electronics.de Git - linux-beck.git/commit
mv643xx_eth: include linux/ip.h to fix build
authorLennert Buytenhek <buytenh@wantstofly.org>
Thu, 2 Oct 2008 00:52:39 +0000 (00:52 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 9 Oct 2008 00:01:31 +0000 (17:01 -0700)
commitc3efab8ed4755e26962704731322bafdf5022f98
tree177f45d1116cb4cc9e5da1133e92b701739a5b75
parentf47aeffd6089ed7a0cd18073e88cd505f188b0b7
mv643xx_eth: include linux/ip.h to fix build

mv643xx_eth uses ip_hdr() (defined in linux/ip.h), but relied on
another header file to include the needed header file indirectly.
In latest net-next this indirect include chain is gone, so the
driver fails to build.  Include linux/ip.h explicitly to fix this.

Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/mv643xx_eth.c