From patchwork Sun Jul 23 14:56:13 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Gortmaker X-Patchwork-Id: 9858461 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id E17B1602CB for ; Sun, 23 Jul 2017 14:56:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C7DA028558 for ; Sun, 23 Jul 2017 14:56:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B971D28565; Sun, 23 Jul 2017 14:56:58 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 466DC28558 for ; Sun, 23 Jul 2017 14:56:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=sJpr+MZVtuQdLPJRWndJQh4zFKxNs2BCkTBIZZ3fjuw=; b=nUlt/e6AOlqji8 ZE1L6aNX1nS5HXlJtWOYElUJDBWiq7NzPgaUIx7f1XWLT2SAqgo2OqipSNVhfOqMADqAudOSicUA0 e6MDVm69/EDXjerQvppgBoVUmHTWZT6IrJveJqBghqubENquNCgzz5RGTcYGauRt/ZUgqXFNc/ruG jsVsakM7ZewLIwmqymeFY1NKtkJpfIvuUUTdxNdMuPD/P2Hm9sasTilNBKgjIObqhZS4nh0D17/XY pjDBBhau2ObGA6SHPf45IuEXLURbl6SjR9tnP1b9zD9m6USKmyW+gCTZZVMRCaHRfSYbOAK+pGao9 bBUZWSwqD0V6SED3iQgw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dZIJU-0002GN-5E; Sun, 23 Jul 2017 14:56:56 +0000 Received: from mail.windriver.com ([147.11.1.11]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dZIJQ-0002F6-V5 for linux-mediatek@lists.infradead.org; Sun, 23 Jul 2017 14:56:55 +0000 Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail.windriver.com (8.15.2/8.15.1) with ESMTPS id v6NEuOHp018665 (version=TLSv1 cipher=AES128-SHA bits=128 verify=FAIL); Sun, 23 Jul 2017 07:56:25 -0700 (PDT) Received: from yow-lpgnfs-02.wrs.com (128.224.149.8) by ALA-HCA.corp.ad.wrs.com (147.11.189.40) with Microsoft SMTP Server id 14.3.294.0; Sun, 23 Jul 2017 07:56:24 -0700 From: Paul Gortmaker To: Subject: [PATCH-next] net: ethernet: mediatek: fix implicit irq include causing build fails Date: Sun, 23 Jul 2017 10:56:13 -0400 Message-ID: <20170723145613.14007-1-paul.gortmaker@windriver.com> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170723_075653_052077_BF4B809B X-CRM114-Status: GOOD ( 13.02 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Felix Fietkau , Sean Wang , Paul Gortmaker , linux-next@vger.kernel.org, linux-mediatek@lists.infradead.org, Matthias Brugger , John Crispin Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP To fix: drivers/net/ethernet/mediatek/mtk_eth_soc.c:1685:1: error: unknown type name 'irqreturn_t' drivers/net/ethernet/mediatek/mtk_eth_soc.c: In function 'mtk_handle_irq_rx': drivers/net/ethernet/mediatek/mtk_eth_soc.c:1694:9: error: 'IRQ_HANDLED' undeclared (first use in this function) drivers/net/ethernet/mediatek/mtk_eth_soc.c:1694:9: note: each undeclared identifier is reported only once for each function it appears in and similar follow-on errors as seen in arm allmodconfig builds. Cc: Sean Wang Cc: Felix Fietkau Cc: John Crispin Cc: Matthias Brugger Cc: linux-mediatek@lists.infradead.org Signed-off-by: Paul Gortmaker --- [Seen on current linux-next, where similar implicit irq includes were recently revealed by some header shuffle somewhere.] drivers/net/ethernet/mediatek/mtk_eth_soc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/mediatek/mtk_eth_soc.c b/drivers/net/ethernet/mediatek/mtk_eth_soc.c index 7e95cf547ff1..ea15eb095d83 100644 --- a/drivers/net/ethernet/mediatek/mtk_eth_soc.c +++ b/drivers/net/ethernet/mediatek/mtk_eth_soc.c @@ -16,6 +16,7 @@ #include #include #include +#include #include #include #include