From patchwork Tue Aug 23 09:26:33 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Yoshihiro Shimoda X-Patchwork-Id: 1087922 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.4) with ESMTP id p7N9QaBk010256 for ; Tue, 23 Aug 2011 09:26:36 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754684Ab1HWJ0f (ORCPT ); Tue, 23 Aug 2011 05:26:35 -0400 Received: from relmlor2.renesas.com ([210.160.252.172]:44093 "EHLO relmlor2.renesas.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754646Ab1HWJ0e (ORCPT ); Tue, 23 Aug 2011 05:26:34 -0400 MIME-version: 1.0 Content-type: text/plain; charset=windows-1252 Received: from relmlir4.idc.renesas.com ([10.200.68.154]) by relmlor2.idc.renesas.com ( SJSMS) with ESMTP id <0LQD00BTCJK9HWB0@relmlor2.idc.renesas.com>; Tue, 23 Aug 2011 18:26:33 +0900 (JST) Received: from relmlac1.idc.renesas.com ([10.200.69.21]) by relmlir4.idc.renesas.com ( SJSMS) with ESMTP id <0LQD00HYNJK964A0@relmlir4.idc.renesas.com>; Tue, 23 Aug 2011 18:26:33 +0900 (JST) Received: by relmlac1.idc.renesas.com (Postfix, from userid 0) id 7C5D5800A2; Tue, 23 Aug 2011 18:26:33 +0900 (JST) Received: from relmlac1.idc.renesas.com (localhost [127.0.0.1]) by relmlac1.idc.renesas.com (Postfix) with ESMTP id 7889580088; Tue, 23 Aug 2011 18:26:33 +0900 (JST) Received: from relmlii1.idc.renesas.com [10.200.68.65] by relmlac1.idc.renesas.com with ESMTP id UAP14361; Tue, 23 Aug 2011 18:26:33 +0900 X-IronPort-AV: E=Sophos; i="4.68,268,1312124400"; d="scan'208"; a="42040255" Received: from unknown (HELO [172.30.8.157]) ([172.30.8.157]) by relmlii1.idc.renesas.com with ESMTP; Tue, 23 Aug 2011 18:26:33 +0900 Message-id: <4E537249.8050806@renesas.com> Date: Tue, 23 Aug 2011 18:26:33 +0900 From: Yoshihiro Shimoda User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ja; rv:1.9.2.20) Gecko/20110804 Thunderbird/3.1.12 To: netdev@vger.kernel.org Cc: SH-Linux Subject: [PATCH] net: sh_eth: fix the compile error Content-transfer-encoding: 8bit Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Tue, 23 Aug 2011 09:26:36 +0000 (UTC) Fix the following build error: CC drivers/net/sh_eth.o drivers/net/sh_eth.c:1115: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘sh_eth_interrupt’ drivers/net/sh_eth.c: In function ‘sh_eth_open’: drivers/net/sh_eth.c:1387: error: implicit declaration of function ‘request_irq’ drivers/net/sh_eth.c:1387: error: ‘sh_eth_interrupt’ undeclared (first use in this function) drivers/net/sh_eth.c:1387: error: (Each undeclared identifier is reported only once drivers/net/sh_eth.c:1387: error: for each function it appears in.) drivers/net/sh_eth.c:1391: error: ‘IRQF_SHARED’ undeclared (first use in this function) drivers/net/sh_eth.c:1424: error: implicit declaration of function ‘free_irq’ make[2]: *** [drivers/net/sh_eth.o] Error 1 Signed-off-by: Yoshihiro Shimoda --- drivers/net/sh_eth.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/net/sh_eth.c b/drivers/net/sh_eth.c index ad35c21..f6de45b 100644 --- a/drivers/net/sh_eth.c +++ b/drivers/net/sh_eth.c @@ -30,6 +30,7 @@ #include #include #include +#include #include #include #include