From: Jiri Slaby Date: Mon, 14 Sep 2009 10:45:11 +0200 Subject: [ath9k-devel] [PATCH v2 2/4] ath5k: allocate ath5k_hw prior to initializing hw In-Reply-To: <1252917123-11559-3-git-send-email-lrodriguez@atheros.com> References: <1252917123-11559-1-git-send-email-lrodriguez@atheros.com> <1252917123-11559-3-git-send-email-lrodriguez@atheros.com> Message-ID: <4AAE0297.20401@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org On 09/14/2009 10:32 AM, Luis R. Rodriguez wrote: > --- a/drivers/net/wireless/ath/ath.h > +++ b/drivers/net/wireless/ath/ath.h > @@ -51,7 +51,7 @@ struct ath_common { > u8 curbssid[ETH_ALEN]; > u8 bssidmask[ETH_ALEN]; > struct ath_regulatory regulatory; > - struct ath_ops *ops; > + const struct ath_ops *ops; If I'm looking correctly, this will emit a warning for ath9k.