diff options
author | Johannes Berg <johannes.berg@intel.com> | 2014-01-20 23:00:56 (GMT) |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2014-02-04 20:48:23 (GMT) |
commit | f1e3d556a02a155e260697088579d18f12d54c83 (patch) | |
tree | 998defa5a13d13c4636f91abfefcf50aa63f27ee /net/wireless/reg.c | |
parent | 94e860f13d39fce83afc6a60619539fc035cac73 (diff) | |
download | linux-f1e3d556a02a155e260697088579d18f12d54c83.tar.xz |
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/reg.c')
-rw-r--r-- | net/wireless/reg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/wireless/reg.c b/net/wireless/reg.c index 484facf..99b0cad 100644 --- a/net/wireless/reg.c +++ b/net/wireless/reg.c @@ -91,7 +91,7 @@ static struct regulatory_request __rcu *last_request = /* To trigger userspace events */ static struct platform_device *reg_pdev; -static struct device_type reg_device_type = { +static const struct device_type reg_device_type = { .uevent = reg_device_uevent, }; |