From patchwork Wed Aug 10 06:15:50 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nobuhiro Iwamatsu X-Patchwork-Id: 109338 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id E1DEFB70ED for ; Wed, 10 Aug 2011 16:16:31 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752451Ab1HJGQ0 (ORCPT ); Wed, 10 Aug 2011 02:16:26 -0400 Received: from mail-gw0-f46.google.com ([74.125.83.46]:38952 "EHLO mail-gw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752167Ab1HJGQ0 (ORCPT ); Wed, 10 Aug 2011 02:16:26 -0400 Received: by gwaa12 with SMTP id a12so480419gwa.19 for ; Tue, 09 Aug 2011 23:16:25 -0700 (PDT) Received: by 10.42.144.136 with SMTP id b8mr7575535icv.210.1312956985331; Tue, 09 Aug 2011 23:16:25 -0700 (PDT) Received: from localhost.localdomain (49.14.32.202.bf.2iij.net [202.32.14.49]) by mx.google.com with ESMTPS id f14sm1002023icm.3.2011.08.09.23.16.24 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 09 Aug 2011 23:16:24 -0700 (PDT) From: Nobuhiro Iwamatsu To: netdev@vger.kernel.org Cc: adobriyan@gmail.com, Nobuhiro Iwamatsu Subject: [PATCH] net: sh_eth: Fix build by forgot including linux/interrupt.h Date: Wed, 10 Aug 2011 15:15:50 +0900 Message-Id: <1312956950-32598-1-git-send-email-nobuhiro.iwamatsu.yj@renesas.com> X-Mailer: git-send-email 1.7.5.4 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org By a6b7a407865aab9f849dd99a71072b7cd1175116, remove interrupt.h from netdevice.h. But this forget to revise sh_eth. This fix the build failure. error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sh_eth_interrupt' error: implicit declaration of function 'request_irq' error: 'sh_eth_interrupt' undeclared (first use in this function) error: (Each undeclared identifier is reported only once drivers/net/sh_eth.c:1386: error: for each function it appears in.) error: 'IRQF_SHARED' undeclared (first use in this function) error: implicit declaration of function 'free_irq' Signed-off-by: Nobuhiro Iwamatsu CC: Alexey Dobriyan --- 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..190f619 100644 --- a/drivers/net/sh_eth.c +++ b/drivers/net/sh_eth.c @@ -21,6 +21,7 @@ */ #include +#include #include #include #include