From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from he.sipsolutions.net ([78.46.109.217]:51541 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752276Ab1D2HLr (ORCPT ); Fri, 29 Apr 2011 03:11:47 -0400 Subject: Re: [PATCH 1/2] wireless: Make struct ieee80211_channel const where possible From: Johannes Berg To: Joe Perches Cc: "David S. Miller" , "John W. Linville" , linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Date: Fri, 29 Apr 2011 09:11:38 +0200 Message-ID: <1304061098.3589.0.camel@jlt3.sipsolutions.net> (sfid-20110429_091208_235817_410C9D4A) Mime-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Thu, 2011-04-28 at 22:25 -0700, Joe Perches wrote: > Useful for declarations of static const. I don't mind marking lots of places const, but it isn't actually as useful as you think since you can't declare any channels const as they are modified at runtime for regulatory enforcement. johannes