cfg80211: mark wiphy->privid as pointer to const
authorDavid Kilroy <kilroyd@googlemail.com>
Sat, 16 May 2009 22:13:47 +0000 (23:13 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 20 May 2009 18:46:27 +0000 (14:46 -0400)
This allows drivers to use a const pointer as the privid without a cast.

Signed-off-by: David Kilroy <kilroyd@gmail.com>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/net/cfg80211.h

index 09a823520e58d323af089b246269e9a4d62e073e..81a3bfa45471562fc4d29e1b533c44d8e8c38a9f 100644 (file)
@@ -997,7 +997,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];