summaryrefslogtreecommitdiff
path: root/net/wireless/core.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2014-01-21 00:00:56 +0100
committerJohannes Berg <johannes.berg@intel.com>2014-02-04 21:48:23 +0100
commitf1e3d556a02a155e260697088579d18f12d54c83 (patch)
tree998defa5a13d13c4636f91abfefcf50aa63f27ee /net/wireless/core.c
parent94e860f13d39fce83afc6a60619539fc035cac73 (diff)
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>
Diffstat (limited to 'net/wireless/core.c')
-rw-r--r--net/wireless/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/wireless/core.c b/net/wireless/core.c
index d89dee2259b5..b5ff39a6f6ed 100644
--- a/net/wireless/core.c
+++ b/net/wireless/core.c
@@ -737,7 +737,7 @@ void cfg80211_unregister_wdev(struct wireless_dev *wdev)
}
EXPORT_SYMBOL(cfg80211_unregister_wdev);
-static struct device_type wiphy_type = {
+static const struct device_type wiphy_type = {
.name = "wlan",
};