From patchwork Wed Oct 14 14:49:53 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Holger Schurig X-Patchwork-Id: 53692 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 n9EF0BIs008388 for ; Wed, 14 Oct 2009 15:00:11 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934094AbZJNOvR (ORCPT ); Wed, 14 Oct 2009 10:51:17 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S934081AbZJNOvQ (ORCPT ); Wed, 14 Oct 2009 10:51:16 -0400 Received: from mx51.mymxserver.com ([85.199.173.110]:24629 "EHLO mx51.mymxserver.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934077AbZJNOvP (ORCPT ); Wed, 14 Oct 2009 10:51:15 -0400 Received: from localhost (localhost [127.0.0.1]) by localhost.mx51.mymxserver.com (Postfix) with ESMTP id 0C7805000D; Wed, 14 Oct 2009 16:50:08 +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 MrlHCnEd8i+h; Wed, 14 Oct 2009 16:50:07 +0200 (CEST) Received: from lin01.mn-solutions.de (pD95FA374.dip0.t-ipconnect.de [217.95.163.116]) by mx51.mymxserver.com (Postfix) with ESMTP id 147AB50008; Wed, 14 Oct 2009 16:50:06 +0200 (CEST) Received: by lin01.mn-solutions.de (Postfix, from userid 116) id 68C341E0050; Wed, 14 Oct 2009 16:50:06 +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 EB90B1E0010; Wed, 14 Oct 2009 16:49:57 +0200 (CEST) From: Holger Schurig To: linux-wireless@vger.kernel.org, John Linville , Dan Williams Subject: [PATCH] libertas: make __lbs_cmd_async() non-static Date: Wed, 14 Oct 2009 16:49:53 +0200 User-Agent: KMail/1.9.7 MIME-Version: 1.0 Content-Disposition: inline Message-Id: <200910141649.53697.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 @@ -2119,7 +2119,7 @@ } -static struct cmd_ctrl_node *__lbs_cmd_async(struct lbs_private *priv, +struct cmd_ctrl_node *__lbs_cmd_async(struct lbs_private *priv, uint16_t command, struct cmd_header *in_cmd, int in_cmd_size, int (*callback)(struct lbs_private *, unsigned long, struct cmd_header *), unsigned long callback_arg) --- linux-wl.orig/drivers/net/wireless/libertas/cmd.h +++ linux-wl/drivers/net/wireless/libertas/cmd.h @@ -26,6 +26,11 @@ int (*callback)(struct lbs_private *, unsigned long, struct cmd_header *), unsigned long callback_arg); +struct cmd_ctrl_node *__lbs_cmd_async(struct lbs_private *priv, + uint16_t command, struct cmd_header *in_cmd, int in_cmd_size, + int (*callback)(struct lbs_private *, unsigned long, struct cmd_header *), + unsigned long callback_arg); + int lbs_set_power_adapt_cfg(struct lbs_private *priv, int enable, int8_t p0, int8_t p1, int8_t p2);