From patchwork Tue Sep 1 13:14:00 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Ortiz X-Patchwork-Id: 45064 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n81DDIOa017103 for ; Tue, 1 Sep 2009 13:13:19 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754687AbZIANMb (ORCPT ); Tue, 1 Sep 2009 09:12:31 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754690AbZIANMa (ORCPT ); Tue, 1 Sep 2009 09:12:30 -0400 Received: from mga05.intel.com ([192.55.52.89]:31812 "EHLO fmsmga101.fm.intel.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754683AbZIANMa (ORCPT ); Tue, 1 Sep 2009 09:12:30 -0400 Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP; 01 Sep 2009 06:09:13 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.44,311,1249282800"; d="scan'208";a="722857374" Received: from unknown (HELO sortiz-mobl) ([143.185.76.195]) by fmsmga001.fm.intel.com with ESMTP; 01 Sep 2009 06:15:34 -0700 From: Samuel Ortiz To: John Linville Cc: linux-wireless@vger.kernel.org, Zhu Yi , Samuel Ortiz Subject: [PATCH 3/9] iwmc3200wifi: Fix sparse warning Date: Tue, 1 Sep 2009 15:14:00 +0200 Message-Id: <3a950a601bd437ab1c971dc495fc0a2c3c886631.1251809163.git.sameo@linux.intel.com> X-Mailer: git-send-email 1.6.3.3 In-Reply-To: References: <51aebb943245be1aef404d6274fe60feabd47c94.1251809163.git.sameo@linux.intel.com> In-Reply-To: References: Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org iwm_cfg80211_get_station() should be static. Signed-off-by: Samuel Ortiz --- drivers/net/wireless/iwmc3200wifi/cfg80211.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/iwmc3200wifi/cfg80211.c b/drivers/net/wireless/iwmc3200wifi/cfg80211.c index d8bb723..2784b08 100644 --- a/drivers/net/wireless/iwmc3200wifi/cfg80211.c +++ b/drivers/net/wireless/iwmc3200wifi/cfg80211.c @@ -238,8 +238,9 @@ static int iwm_cfg80211_set_default_key(struct wiphy *wiphy, return iwm_set_tx_key(iwm, key_index); } -int iwm_cfg80211_get_station(struct wiphy *wiphy, struct net_device *ndev, - u8 *mac, struct station_info *sinfo) +static int iwm_cfg80211_get_station(struct wiphy *wiphy, + struct net_device *ndev, + u8 *mac, struct station_info *sinfo) { struct iwm_priv *iwm = ndev_to_iwm(ndev);