From patchwork Tue Sep 8 15:55:47 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chaehyun Lim X-Patchwork-Id: 7142201 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id E3ED19F326 for ; Tue, 8 Sep 2015 15:56:40 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1764320671 for ; Tue, 8 Sep 2015 15:56:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 401F820670 for ; Tue, 8 Sep 2015 15:56:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755312AbbIHP4i (ORCPT ); Tue, 8 Sep 2015 11:56:38 -0400 Received: from mail-pa0-f41.google.com ([209.85.220.41]:33724 "EHLO mail-pa0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754924AbbIHP4h (ORCPT ); Tue, 8 Sep 2015 11:56:37 -0400 Received: by pacex6 with SMTP id ex6so127489193pac.0 for ; Tue, 08 Sep 2015 08:56:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=iTkyIbv4YztnkvwhUShBe45tXjT9wntRaOph9cSWWt4=; b=s3eN8R+65Jv8aBae21cpVAyd6OySLEy8JA2+jNsspMwjb9DfiPPCRGN29AiKzhvaIK ZPehtfcgBEBIYPP9NMza07tnTqNTtgjN5+EfpaE1SfHpyC+sRWTar+9nus0++oH/3SQg xKmetLD+7Lgv/DdxwOTG5RICdqW6r/EVjf38s2chxcjCQac66xNlYDEb0f/lioPK6B9k InKcsT3YcuQhT4XisZnGtfSP5O/CAiFJfSfXBPrGnb9/rEGVjN7khNwMw2A/ZLRJysHe V/w3Gw6umQ4Zw7pk2Oo3Ac5PIK+ws+W8GXP+boG4KntGpRsjxHsQzOPGwveX+r7jki/d 8FyQ== X-Received: by 10.69.17.1 with SMTP id ga1mr58940546pbd.163.1441727796735; Tue, 08 Sep 2015 08:56:36 -0700 (PDT) Received: from localhost.localdomain ([218.233.16.2]) by smtp.gmail.com with ESMTPSA id ch3sm3899425pbb.18.2015.09.08.08.56.34 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 08 Sep 2015 08:56:36 -0700 (PDT) From: Chaehyun Lim To: gregkh@linuxfoundation.org Cc: johnny.kim@atmel.com, rachel.kim@atmel.com, chris.park@atmel.com, linux-wireless@vger.kernel.org, devel@driverdev.osuosl.org, Chaehyun Lim Subject: [PATCH 10/30] staging: wilc1000: rename WILC_WFI_change_virt_intf Date: Wed, 9 Sep 2015 00:55:47 +0900 Message-Id: <1441727767-26026-10-git-send-email-chaehyun.lim@gmail.com> X-Mailer: git-send-email 2.5.1 In-Reply-To: <1441727767-26026-1-git-send-email-chaehyun.lim@gmail.com> References: <1441727767-26026-1-git-send-email-chaehyun.lim@gmail.com> Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch replaces WILC_WFI_change_virt_intf with wilc_cfg80211_change_virtual_intf to avoid CamelCase. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c index cffe4b4..97a7a4b 100644 --- a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c +++ b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c @@ -2826,7 +2826,7 @@ int WILC_WFI_set_power_mgmt(struct wiphy *wiphy, struct net_device *dev, } #ifdef WILC_AP_EXTERNAL_MLME /** - * @brief WILC_WFI_change_virt_intf + * @brief wilc_cfg80211_change_virtual_intf * @details Change type/configuration of virtual interface, * keep the struct wireless_dev's iftype updated. * @param[in] NONE @@ -2838,7 +2838,7 @@ int WILC_WFI_set_power_mgmt(struct wiphy *wiphy, struct net_device *dev, void wilc1000_wlan_deinit(linux_wlan_t *nic); int wilc1000_wlan_init(struct net_device *dev, perInterface_wlan_t *p_nic); -static int WILC_WFI_change_virt_intf(struct wiphy *wiphy, struct net_device *dev, +static int wilc_cfg80211_change_virtual_intf(struct wiphy *wiphy, struct net_device *dev, enum nl80211_iftype type, u32 *flags, struct vif_params *params) { s32 s32Error = WILC_SUCCESS; @@ -3614,7 +3614,7 @@ static struct cfg80211_ops WILC_WFI_cfg80211_ops = { #ifdef WILC_AP_EXTERNAL_MLME .add_virtual_intf = wilc_cfg80211_add_virtual_intf, .del_virtual_intf = wilc_cfg80211_del_virtual_intf, - .change_virtual_intf = WILC_WFI_change_virt_intf, + .change_virtual_intf = wilc_cfg80211_change_virtual_intf, .start_ap = WILC_WFI_start_ap, .change_beacon = WILC_WFI_change_beacon,