From patchwork Wed Mar 18 12:41:05 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lorenzo Bianconi X-Patchwork-Id: 216259 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.1 required=3.0 tests=DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D64B9C5ACD6 for ; Wed, 18 Mar 2020 12:41:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A058E2076D for ; Wed, 18 Mar 2020 12:41:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1584535302; bh=tP+u4ybkKs8jDbO/sPn25phauZi0VKfegPje63qy7Mg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=AKIX/nIRJeVwQTV6HMk06eClXer2cEjqiDdgZSwWWoZDvsINdBGuZTrCU+MDLTIPE FLpO6enPi8fsUBKDf3NBawsbT1bH6+Jd5iOTobPbs7MPmAcwJiO4hxzQiJXbMcx493 FhWwyCEU1HteTRSmZHIKgSbZoYHsF1dPFjDvgOqA= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726810AbgCRMlm (ORCPT ); Wed, 18 Mar 2020 08:41:42 -0400 Received: from mail.kernel.org ([198.145.29.99]:51904 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726546AbgCRMll (ORCPT ); Wed, 18 Mar 2020 08:41:41 -0400 Received: from lore-desk-wlan.redhat.com (unknown [151.48.128.122]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 0BEC32076E; Wed, 18 Mar 2020 12:41:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1584535301; bh=tP+u4ybkKs8jDbO/sPn25phauZi0VKfegPje63qy7Mg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=s8Z66ysB7BEys739CfNE5DU4j+aLPJJEBH6BxdXcKNT/YxaeQ/7jyiMKQbZwOPpZe KGaTgZbvgBmwSplWw/1w121u0jxXdwKBJtakNwz52F9snP47Yd6GBwfs5/wVeVdAdm jsRqhyAi0uLXt3bySAzmOs8eB+ohP3tfuW4Kn/LY= From: Lorenzo Bianconi To: kvalo@codeaurora.org Cc: linux-wireless@vger.kernel.org, nbd@nbd.name, lorenzo.bianconi@redhat.com, sean.wang@mediatek.com, ryder.lee@mediatek.com, linux-mediatek@lists.infradead.org Subject: [PATCH 3/3] mt76: mt7615: add missing declaration in mt7615.h Date: Wed, 18 Mar 2020 13:41:05 +0100 Message-Id: X-Mailer: git-send-email 2.25.1 In-Reply-To: References: MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Add mt7615_mcu_wait_response declaration in mt7615.h since it will be reused adding usb support to mt7615 driver Reported-by: kbuild test robot Fixes: 044a43256a35 ("mt76: mt7615: introduce mt7615_mcu_wait_response") Signed-off-by: Lorenzo Bianconi --- drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h b/drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h index 8b3d95a2d7b2..676ca622c35a 100644 --- a/drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h +++ b/drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h @@ -383,6 +383,7 @@ int mt7615_mac_wtbl_set_key(struct mt7615_dev *dev, struct mt76_wcid *wcid, enum set_key_cmd cmd); void mt7615_mac_reset_work(struct work_struct *work); +int mt7615_mcu_wait_response(struct mt7615_dev *dev, int cmd, int seq); int mt7615_mcu_set_dbdc(struct mt7615_dev *dev); int mt7615_mcu_set_eeprom(struct mt7615_dev *dev); int mt7615_mcu_set_mac_enable(struct mt7615_dev *dev, int band, bool enable);