From patchwork Wed Nov 4 17:35:18 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartlomiej Zolnierkiewicz X-Patchwork-Id: 57694 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 nA4Hf3uN014081 for ; Wed, 4 Nov 2009 17:41:04 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932365AbZKDRfo (ORCPT ); Wed, 4 Nov 2009 12:35:44 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751446AbZKDRfk (ORCPT ); Wed, 4 Nov 2009 12:35:40 -0500 Received: from fg-out-1718.google.com ([72.14.220.157]:5665 "EHLO fg-out-1718.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932360AbZKDRfh (ORCPT ); Wed, 4 Nov 2009 12:35:37 -0500 Received: by fg-out-1718.google.com with SMTP id 16so386425fgg.1 for ; Wed, 04 Nov 2009 09:35:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:date:message-id :in-reply-to:references:subject; bh=DmKvMQtgaWqk2GLMBc86So6MQSokCMJaQ1komnOBm60=; b=wNsCetnBwjUc3XwwDHUxKH9MynuLImeP7T1f2k6X/FP4iPHu0AVMBqd5vOhgB2ilw0 vQOdOAgoHW8SAh7p0pRPvBnY3q7is2sJVrQmaaFg/ecvE9S+ir2P0dyiY8NDYcZBz2X1 cdC9VwoCjx55EOHiyb8k+5Jh4DQgj+elYsXk0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:date:message-id:in-reply-to:references:subject; b=S4baHjDFa+3eV55rNM0nlIQF3J1bnjqSS5V1nH53jSEgPopdN2u4ELh2EPFptjqqF/ d6r2K254vMsI8XCN7ihadzJODqyeW9GoVEb7s5VtauXyFVVTomqAgT1C/pCfH6G+PuII YY8U/vfyaKLTX4TK6UI9FLjUeNA7JOZAHSUr8= Received: by 10.86.203.35 with SMTP id a35mr4153419fgg.44.1257356142089; Wed, 04 Nov 2009 09:35:42 -0800 (PST) Received: from localhost.localdomain (chello089079027028.chello.pl [89.79.27.28]) by mx.google.com with ESMTPS id e3sm2210372fga.13.2009.11.04.09.35.41 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 04 Nov 2009 09:35:41 -0800 (PST) From: Bartlomiej Zolnierkiewicz To: linux-wireless@vger.kernel.org Cc: Ivo van Doorn , Bartlomiej Zolnierkiewicz , Gertjan van Wingerde , linux-kernel@vger.kernel.org, "John W. Linville" Date: Wed, 04 Nov 2009 18:35:18 +0100 Message-Id: <20091104173518.28463.61728.sendpatchset@localhost.localdomain> In-Reply-To: <20091104173151.28463.68742.sendpatchset@localhost.localdomain> References: <20091104173151.28463.68742.sendpatchset@localhost.localdomain> Subject: [PATCH 27/41] rt2x00: fix rt2x00usb_regbusy_read() arguments Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Index: b/drivers/net/wireless/rt2x00/rt2800usb.h =================================================================== --- a/drivers/net/wireless/rt2x00/rt2800usb.h +++ b/drivers/net/wireless/rt2x00/rt2800usb.h @@ -44,7 +44,7 @@ struct rt2800_ops { int (*regbusy_read)(struct rt2x00_dev *rt2x00dev, const unsigned int offset, - struct rt2x00_field32 field, u32 *reg); + const struct rt2x00_field32 field, u32 *reg); }; static inline void rt2800_register_read(struct rt2x00_dev *rt2x00dev, Index: b/drivers/net/wireless/rt2x00/rt2x00usb.c =================================================================== --- a/drivers/net/wireless/rt2x00/rt2x00usb.c +++ b/drivers/net/wireless/rt2x00/rt2x00usb.c @@ -156,7 +156,7 @@ EXPORT_SYMBOL_GPL(rt2x00usb_vendor_reque int rt2x00usb_regbusy_read(struct rt2x00_dev *rt2x00dev, const unsigned int offset, - struct rt2x00_field32 field, + const struct rt2x00_field32 field, u32 *reg) { unsigned int i; Index: b/drivers/net/wireless/rt2x00/rt2x00usb.h =================================================================== --- a/drivers/net/wireless/rt2x00/rt2x00usb.h +++ b/drivers/net/wireless/rt2x00/rt2x00usb.h @@ -365,7 +365,7 @@ static inline void rt2x00usb_register_mu */ int rt2x00usb_regbusy_read(struct rt2x00_dev *rt2x00dev, const unsigned int offset, - struct rt2x00_field32 field, + const struct rt2x00_field32 field, u32 *reg); /*