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/carl9170 | |
parent | 56ff51084eadf61a93941e9a2a20608d8dd45711 (diff) | |
download | lwn-f5c4ae07992ca64d8628a11439c184baf5595e4b.tar.gz lwn-f5c4ae07992ca64d8628a11439c184baf5595e4b.zip |
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/carl9170')
-rw-r--r-- | drivers/net/wireless/ath/carl9170/led.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/carl9170/led.c b/drivers/net/wireless/ath/carl9170/led.c index 78dadc797558..2c74425f5059 100644 --- a/drivers/net/wireless/ath/carl9170/led.c +++ b/drivers/net/wireless/ath/carl9170/led.c @@ -122,7 +122,7 @@ static void carl9170_led_set_brightness(struct led_classdev *led, } static int carl9170_led_register_led(struct ar9170 *ar, int i, char *name, - char *trigger) + const char *trigger) { int err; |