Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp332916yba; Sat, 4 May 2019 03:25:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqxooe8sPJm6rQ0jBVsbhL/MuHKyFnKtyveUcqYrFmz9l9bOXeN5Z8HBukTeY3SWIhoAZcLq X-Received: by 2002:a65:5342:: with SMTP id w2mr17429294pgr.220.1556965502780; Sat, 04 May 2019 03:25:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556965502; cv=none; d=google.com; s=arc-20160816; b=F0ZIEhrbQUGk9qk77FVSFvnMrJI6Y3HaJnjK+BGTVrhqHq/ORkOk+fbkMuNoJ2rHiU G9pSZWBSp00o1vpyy9GoPZZLsh3u8UIoSqy4XGo3hBfG538UEVYo9cv5BzCJSOLsqp0Q 9FeNqU0cy4r8zNC9gbjXnJ7dQ5lkLyQd8Tv2rhaTYIvOmiAemxOqq4TCfHxJruH0UVZU PZn4y8GpX61V3iV03AaM1FId5arl5nxsQU8QFvOOQCmKhwSIrmDUs5xKpktQZPOuy67b VUnWo2uOBOb7/jH1dsVxHfSJEMBdL3i5rJq5rBy7gmfy+F6bC9R1+aCF9WKuc2hHerl1 pRvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=tL98wbHAL5+U5fRLAFQ157sVlkAPD/Lg8OwSCp8mNOI=; b=XPKsZSAuDwdLkby1ZVaLY4qvXCsYZVIYyo2rraaN22z/8dBM76qi4hSTT8regiJuDf 0Wepz+xscFrUMib8w2hmUGqwPG+VmGjJ9sKfuslKgpVcBvtv/hvfYut3lI+UoTfq/QSw 3BS9QWhEUD9ulkBEdiVWuCi9hs7E+XQz02rKDJqMp/Iz3GNJT6tviq2cqKn8emZXiYT7 5MLAF9hFUsSiG9g9Ydr2y+DI7eToCnd4v27YBsrAG2KNVo2rlwExssmFFbIPJyUenwoO R6eugels/jh23EDrKg9DDJDnqfYI7n0JWhTOnvCIhPMbd8tYVaGRzu3RX8SDaPUGNyjL fc2Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s9si6924248pfa.282.2019.05.04.03.24.43; Sat, 04 May 2019 03:25:02 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727198AbfEDKXH (ORCPT + 99 others); Sat, 4 May 2019 06:23:07 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:56432 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726631AbfEDKXG (ORCPT ); Sat, 4 May 2019 06:23:06 -0400 Received: from DGGEMS414-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id C39828FB586CBB087327; Sat, 4 May 2019 18:23:04 +0800 (CST) Received: from localhost (10.177.31.96) by DGGEMS414-HUB.china.huawei.com (10.3.19.214) with Microsoft SMTP Server id 14.3.439.0; Sat, 4 May 2019 18:22:54 +0800 From: YueHaibing To: , , , , , CC: , , , , , YueHaibing Subject: [PATCH] mt76: mt7615: Make mt7615_irq_handler static Date: Sat, 4 May 2019 18:22:47 +0800 Message-ID: <20190504102247.43720-1-yuehaibing@huawei.com> X-Mailer: git-send-email 2.10.2.windows.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.177.31.96] X-CFilter-Loop: Reflected Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Fix sparse warning: drivers/net/wireless/mediatek/mt76/mt7615/pci.c:37:13: warning: symbol 'mt7615_irq_handler' was not declared. Should it be static? Signed-off-by: YueHaibing --- drivers/net/wireless/mediatek/mt76/mt7615/pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/mediatek/mt76/mt7615/pci.c b/drivers/net/wireless/mediatek/mt76/mt7615/pci.c index 11122bd..c181e59 100644 --- a/drivers/net/wireless/mediatek/mt76/mt7615/pci.c +++ b/drivers/net/wireless/mediatek/mt76/mt7615/pci.c @@ -34,7 +34,7 @@ void mt7615_rx_poll_complete(struct mt76_dev *mdev, enum mt76_rxq_id q) mt7615_irq_enable(dev, MT_INT_RX_DONE(q)); } -irqreturn_t mt7615_irq_handler(int irq, void *dev_instance) +static irqreturn_t mt7615_irq_handler(int irq, void *dev_instance) { struct mt7615_dev *dev = dev_instance; u32 intr; -- 2.7.4