Search Linux Wireless

Re: [RFC 2/3] cfg80211: mark wiphy->privid as pointer to const

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2009-05-16 at 13:22 +0100, David Kilroy wrote:
> This allows drivers to use a const pointer as the privid without a cast.

Same here.

> Signed-off by: David Kilroy <kilroyd@xxxxxxxxx>

Acked-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx>

> ---
>  include/net/cfg80211.h |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
> index 7702715..0639962 100644
> --- a/include/net/cfg80211.h
> +++ b/include/net/cfg80211.h
> @@ -994,7 +994,7 @@ struct wiphy {
>  	 * know whether it points to a wiphy your driver has registered
>  	 * or not. Assign this to something global to your driver to
>  	 * help determine whether you own this wiphy or not. */
> -	void *privid;
> +	const void *privid;
>  
>  	struct ieee80211_supported_band *bands[IEEE80211_NUM_BANDS];
>  

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux