From patchwork Tue Dec 21 20:44:27 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jussi Kivilinna X-Patchwork-Id: 425031 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id oBLKiWE4007128 for ; Tue, 21 Dec 2010 20:44:32 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752865Ab0LUUob (ORCPT ); Tue, 21 Dec 2010 15:44:31 -0500 Received: from sirokuusama.dnainternet.net ([83.102.40.133]:34524 "EHLO sirokuusama.dnainternet.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751799Ab0LUUob (ORCPT ); Tue, 21 Dec 2010 15:44:31 -0500 Received: from localhost (localhost [127.0.0.1]) by sirokuusama.dnainternet.net (Postfix) with ESMTP id E77442CB53; Tue, 21 Dec 2010 22:44:29 +0200 (EET) X-Virus-Scanned: DNA Postiturva at dnainternet.net X-Spam-Flag: NO X-Spam-Score: -1.44 X-Spam-Level: X-Spam-Status: No, score=-1.44 tagged_above=-9999 required=6 tests=[ALL_TRUSTED=-1.44] Received: from sirokuusama.dnainternet.net ([83.102.40.133]) by localhost (sirokuusama.dnainternet.net [127.0.0.1]) (amavisd-new, port 10041) with ESMTP id bcjoKys776CG; Tue, 21 Dec 2010 22:44:29 +0200 (EET) Received: from kirsikkapuu.dnainternet.net (kirsikkapuu.dnainternet.net [83.102.40.214]) by sirokuusama.dnainternet.net (Postfix) with ESMTP id C177E2CB4B; Tue, 21 Dec 2010 22:44:29 +0200 (EET) Received: from fate.lan (dyn2-85-23-163-52.psoas.suomi.net [85.23.163.52]) by kirsikkapuu.dnainternet.net (Postfix) with ESMTP id 9F6257F11E; Tue, 21 Dec 2010 22:44:27 +0200 (EET) Subject: [PATCH 4/7] rndis_wlan: constify rndis_config_ops To: "John W. Linville" From: Jussi Kivilinna Cc: linux-wireless@vger.kernel.org Date: Tue, 21 Dec 2010 22:44:27 +0200 Message-ID: <20101221204427.12250.94921.stgit@fate.lan> In-Reply-To: <20101221204405.12250.35410.stgit@fate.lan> References: <20101221204405.12250.35410.stgit@fate.lan> User-Agent: StGit/0.15 MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Tue, 21 Dec 2010 20:44:32 +0000 (UTC) diff --git a/drivers/net/wireless/rndis_wlan.c b/drivers/net/wireless/rndis_wlan.c index 42e19e8..d0992fc 100644 --- a/drivers/net/wireless/rndis_wlan.c +++ b/drivers/net/wireless/rndis_wlan.c @@ -570,7 +570,7 @@ static int rndis_del_pmksa(struct wiphy *wiphy, struct net_device *netdev, static int rndis_flush_pmksa(struct wiphy *wiphy, struct net_device *netdev); -static struct cfg80211_ops rndis_config_ops = { +static const struct cfg80211_ops rndis_config_ops = { .change_virtual_intf = rndis_change_virtual_intf, .scan = rndis_scan, .set_wiphy_params = rndis_set_wiphy_params,