commit | f1e3d556a02a155e260697088579d18f12d54c83 | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Tue Jan 21 00:00:56 2014 +0100 |
committer | Johannes Berg <johannes.berg@intel.com> | Tue Feb 04 21:48:23 2014 +0100 |
tree | 998defa5a13d13c4636f91abfefcf50aa63f27ee | |
parent | 94e860f13d39fce83afc6a60619539fc035cac73 [diff] [blame] |
cfg80211: make device_type const Instances of struct device_type are never modified, make them const. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
diff --git a/net/wireless/core.c b/net/wireless/core.c index d89dee2..b5ff39a 100644 --- a/net/wireless/core.c +++ b/net/wireless/core.c
@@ -737,7 +737,7 @@ } EXPORT_SYMBOL(cfg80211_unregister_wdev); -static struct device_type wiphy_type = { +static const struct device_type wiphy_type = { .name = "wlan", };