From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757049Ab0I1Q5S (ORCPT ); Tue, 28 Sep 2010 12:57:18 -0400 Received: from rcsinet10.oracle.com ([148.87.113.121]:58865 "EHLO rcsinet10.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754534Ab0I1Q5R (ORCPT ); Tue, 28 Sep 2010 12:57:17 -0400 Date: Tue, 28 Sep 2010 09:56:43 -0700 From: Randy Dunlap To: Stephen Rothwell , netdev , davem@davemloft.net Cc: linux-next@vger.kernel.org, LKML , Subject: [PATCH -next] pch_gbe: add header files Message-Id: <20100928095643.18c5020f.randy.dunlap@oracle.com> In-Reply-To: <20100928141823.8c61000e.sfr@canb.auug.org.au> References: <20100928141823.8c61000e.sfr@canb.auug.org.au> Organization: Oracle Linux Eng. X-Mailer: Sylpheed 2.7.1 (GTK+ 2.16.6; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Randy Dunlap 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 --- drivers/net/pch_gbe/pch_gbe.h | 2 ++ 1 file changed, 2 insertions(+) --- linux-next-20100927.orig/drivers/net/pch_gbe/pch_gbe.h +++ linux-next-20100927/drivers/net/pch_gbe/pch_gbe.h @@ -31,6 +31,8 @@ #include #include #include +#include +#include /** * pch_gbe_regs_mac_adr - Structure holding values of mac address registers