From patchwork Fri Oct 16 15:33:56 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Holger Schurig X-Patchwork-Id: 54277 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 n9GFhGN4006675 for ; Fri, 16 Oct 2009 15:43:16 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759545AbZJPPfW (ORCPT ); Fri, 16 Oct 2009 11:35:22 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1759444AbZJPPfV (ORCPT ); Fri, 16 Oct 2009 11:35:21 -0400 Received: from mx51.mymxserver.com ([85.199.173.110]:20934 "EHLO mx51.mymxserver.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759484AbZJPPfU (ORCPT ); Fri, 16 Oct 2009 11:35:20 -0400 Received: from localhost (localhost [127.0.0.1]) by localhost.mx51.mymxserver.com (Postfix) with ESMTP id C39BE50007; Fri, 16 Oct 2009 17:34:12 +0200 (CEST) X-Virus-Scanned: by Mittwald Mailscanner Received: from mx51.mymxserver.com ([127.0.0.1]) by localhost (mx51.mymxserver.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pVjfSe8licOh; Fri, 16 Oct 2009 17:34:12 +0200 (CEST) Received: from lin01.mn-solutions.de (pD95FA148.dip0.t-ipconnect.de [217.95.161.72]) by mx51.mymxserver.com (Postfix) with ESMTP id 74B1650004; Fri, 16 Oct 2009 17:34:12 +0200 (CEST) Received: by lin01.mn-solutions.de (Postfix, from userid 116) id 12F401E0050; Fri, 16 Oct 2009 17:34:12 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.1.7-deb3 (2006-10-05) on lin01.mn-logistik.de X-Spam-Level: X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.7-deb3 Received: from mnz66.mn-solutions.de (mnz66.mn-solutions.de [192.168.233.66]) by lin01.mn-solutions.de (Postfix) with ESMTP id 8B0331E0010; Fri, 16 Oct 2009 17:34:03 +0200 (CEST) From: Holger Schurig To: linux-wireless@vger.kernel.org, John Linville Subject: [PATCH] libertas: make lbs_get_channel() static Date: Fri, 16 Oct 2009 17:33:56 +0200 User-Agent: KMail/1.9.7 Cc: Dan Williams MIME-Version: 1.0 Content-Disposition: inline Message-Id: <200910161733.56111.hs4233@mail.mn-solutions.de> Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org --- linux-wl.orig/drivers/net/wireless/libertas/cmd.c +++ linux-wl/drivers/net/wireless/libertas/cmd.c @@ -880,7 +880,7 @@ * * @return The channel on success, error on failure */ -int lbs_get_channel(struct lbs_private *priv) +static int lbs_get_channel(struct lbs_private *priv) { struct cmd_ds_802_11_rf_channel cmd; int ret = 0; --- linux-wl.orig/drivers/net/wireless/libertas/cmd.h +++ linux-wl/drivers/net/wireless/libertas/cmd.h @@ -82,8 +82,6 @@ int lbs_update_hw_spec(struct lbs_private *priv); -int lbs_get_channel(struct lbs_private *priv); - int lbs_set_channel(struct lbs_private *priv, u8 channel); int lbs_update_channel(struct lbs_private *priv);