summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/p54/led.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2015-04-23 12:09:01 +0200
committerJohannes Berg <johannes.berg@intel.com>2015-05-05 14:21:55 +0200
commitf5c4ae07992ca64d8628a11439c184baf5595e4b (patch)
tree814347a5155445d35959e98fca871dd0ffd84ac6 /drivers/net/wireless/p54/led.c
parentmac80211: clean up station debugfs (diff)
downloadlinux-f5c4ae07992ca64d8628a11439c184baf5595e4b.tar.xz
linux-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/p54/led.c')
-rw-r--r--drivers/net/wireless/p54/led.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/p54/led.c b/drivers/net/wireless/p54/led.c
index 1f6fd5ff5531..9a8fedd3c0f5 100644
--- a/drivers/net/wireless/p54/led.c
+++ b/drivers/net/wireless/p54/led.c
@@ -83,7 +83,7 @@ static void p54_led_brightness_set(struct led_classdev *led_dev,
static int p54_register_led(struct p54_common *priv,
unsigned int led_index,
- char *name, char *trigger)
+ char *name, const char *trigger)
{
struct p54_led_dev *led = &priv->leds[led_index];
int err;