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