From patchwork Wed Jan 18 10:48:52 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= X-Patchwork-Id: 9523099 X-Patchwork-Delegate: kvalo@adurom.com 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 ABC15601B7 for ; Wed, 18 Jan 2017 10:49:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AA610285D1 for ; Wed, 18 Jan 2017 10:49:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9F352285D6; Wed, 18 Jan 2017 10:49:25 +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=-6.5 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4AFCF285D1 for ; Wed, 18 Jan 2017 10:49:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751924AbdARKtY (ORCPT ); Wed, 18 Jan 2017 05:49:24 -0500 Received: from mail-lf0-f67.google.com ([209.85.215.67]:33069 "EHLO mail-lf0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751920AbdARKtW (ORCPT ); Wed, 18 Jan 2017 05:49:22 -0500 Received: by mail-lf0-f67.google.com with SMTP id x1so1185534lff.0 for ; Wed, 18 Jan 2017 02:49:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=mCe6QdtSV+PGRGwNtRQXlF/PWoIK4/X4par7ojZeLsA=; b=RNbZhet6IDDUjMjtxqha12jBo7P0vNNtF1qXl7C9rFd5AP2IhKcX0TGvZhhApmd67i sOSSUdPmqdjYe6XW3g4ozWm9HqTNKOcrBUHZh9keJfWRIXD7t4/Zv1GUlpP7AyC8rU4z moxTUfaq0Jp4zoG1ieRCkaf4rlXExObVVJHn7Qbnd74oTx5TfYQMouI8AnvcAlilEdBJ +6cqiyGnh8/apYpMrZyOLfsePBm5rjPN8NjfMf9/KG/OY7pjuKj2FshINKem9SxZH3ep uwzNX8KlIVpa0Kc4u1MJeU4Ggca8YQHdgndiI0Dtl6SQuQglky3Ae8jmkFYN3uK8WZMG pa8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=mCe6QdtSV+PGRGwNtRQXlF/PWoIK4/X4par7ojZeLsA=; b=iHY6tPGwIDspqwxhKWYm8WbnIc/zQ+ovsguTSUMqnajTb0t2aTSQ+2EFQHAS12/A47 g0R/7RRissjGcBmKGNxvawL3O9Bibhx+wr8w7U3mOoXXL9R+aHCHGCtm6T/RfyJJ46UO sl0Tmw8/S4Xpfyzp/Gs0xcysUcrNZv17UqkMvvqU20wUCRXdJqa3CvjS34UVUaB77yNw 1dAMaLXHJlhq2QEcVCvdoBkG6ckS18W5jZRr4HZwr7T09lrjgn2pP24LZTwbSc/98IMN ajs87IPkKp9Pab67jQdj9QmIyX0UQn7lKMGcoEn6DcEVSUvwYcKvcUtCFpwikzDduVJU 6x/A== X-Gm-Message-State: AIkVDXKUVK19sE/sR5X/D6XcxoFGD+2MfPVYGAdOmA0S6zDWx9yLKgcOLw3zhaRmtz/dxQ== X-Received: by 10.46.5.130 with SMTP id 124mr1232584ljf.17.1484736560796; Wed, 18 Jan 2017 02:49:20 -0800 (PST) Received: from linux-samsung.lan (ip-194-187-74-233.konfederacka.maverick.com.pl. [194.187.74.233]) by smtp.gmail.com with ESMTPSA id d79sm10281578lfd.46.2017.01.18.02.49.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Jan 2017 02:49:20 -0800 (PST) From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= To: Kalle Valo Cc: Arend van Spriel , Franky Lin , Hante Meuleman , Pieter-Paul Giesberts , Franky Lin , linux-wireless@vger.kernel.org, brcm80211-dev-list.pdl@broadcom.com, =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= Subject: [PATCH V2 2/4] brcmfmac: move brcmf_c_set_joinpref_default declaration to common.h Date: Wed, 18 Jan 2017 11:48:52 +0100 Message-Id: <20170118104854.32231-2-zajec5@gmail.com> X-Mailer: git-send-email 2.10.1 In-Reply-To: <20170118104854.32231-1-zajec5@gmail.com> References: <20170118104854.32231-1-zajec5@gmail.com> MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Rafał Miłecki Function brcmf_c_set_joinpref_default is in common.c, so move it to the related header. Signed-off-by: Rafał Miłecki Acked-by: Arend van Spriel --- V2: Move brcmf_c_set_joinpref_default only --- drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.h | 2 ++ drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.h | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.h b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.h index bd095ab..a62f8e7 100644 --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.h +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.h @@ -65,6 +65,8 @@ struct brcmf_mp_device { } bus; }; +void brcmf_c_set_joinpref_default(struct brcmf_if *ifp); + struct brcmf_mp_device *brcmf_get_module_param(struct device *dev, enum brcmf_bus_type bus_type, u32 chip, u32 chiprev); diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.h b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.h index c94dcab..de3197b 100644 --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.h +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.h @@ -216,7 +216,6 @@ void brcmf_txflowblock_if(struct brcmf_if *ifp, void brcmf_txfinalize(struct brcmf_if *ifp, struct sk_buff *txp, bool success); void brcmf_netif_rx(struct brcmf_if *ifp, struct sk_buff *skb); void brcmf_net_setcarrier(struct brcmf_if *ifp, bool on); -void brcmf_c_set_joinpref_default(struct brcmf_if *ifp); int __init brcmf_core_init(void); void __exit brcmf_core_exit(void);