diff options
author | Johannes Berg <johannes.berg@intel.com> | 2015-04-23 12:09:01 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2015-05-05 14:21:55 +0200 |
commit | f5c4ae07992ca64d8628a11439c184baf5595e4b (patch) | |
tree | 814347a5155445d35959e98fca871dd0ffd84ac6 /drivers/net/wireless/ath/ath5k | |
parent | 56ff51084eadf61a93941e9a2a20608d8dd45711 (diff) | |
download | linux-f5c4ae07992ca64d8628a11439c184baf5595e4b.tar.bz2 |
mac80211: make LED trigger names const
This is just a code cleanup, make the LED trigger names const
as they're not expected to be modified by drivers.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath5k')
-rw-r--r-- | drivers/net/wireless/ath/ath5k/led.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath5k/led.c b/drivers/net/wireless/ath/ath5k/led.c index ca4b7ccd697f..803030fd17d3 100644 --- a/drivers/net/wireless/ath/ath5k/led.c +++ b/drivers/net/wireless/ath/ath5k/led.c @@ -124,7 +124,7 @@ ath5k_led_brightness_set(struct led_classdev *led_dev, static int ath5k_register_led(struct ath5k_hw *ah, struct ath5k_led *led, - const char *name, char *trigger) + const char *name, const char *trigger) { int err; |