summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/wm8350-hwmon.c
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2012-01-20 09:43:54 -0800
committerGuenter Roeck <guenter.roeck@ericsson.com>2012-03-18 18:27:00 -0700
commita68abd32b911f9d3d0370c3992a770d4ea62496b (patch)
tree2e94c35fdc66e81d86364055d56d48ffb3fc57d4 /drivers/hwmon/wm8350-hwmon.c
parent85ebfd3ef9a52abe6426cc5e96604f2dd0e9b375 (diff)
downloadlinux-stable-a68abd32b911f9d3d0370c3992a770d4ea62496b.tar.gz
linux-stable-a68abd32b911f9d3d0370c3992a770d4ea62496b.tar.bz2
linux-stable-a68abd32b911f9d3d0370c3992a770d4ea62496b.zip
hwmon: (wm8350-hwmon) Constify fixed string array
Constify fixed string array and make checkpatch happy. Cc: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/hwmon/wm8350-hwmon.c')
-rw-r--r--drivers/hwmon/wm8350-hwmon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/wm8350-hwmon.c b/drivers/hwmon/wm8350-hwmon.c
index 3ff67edbdc44..b955756bdb42 100644
--- a/drivers/hwmon/wm8350-hwmon.c
+++ b/drivers/hwmon/wm8350-hwmon.c
@@ -34,7 +34,7 @@ static ssize_t show_name(struct device *dev,
return sprintf(buf, "wm8350\n");
}
-static const char *input_names[] = {
+static const char * const input_names[] = {
[WM8350_AUXADC_USB] = "USB",
[WM8350_AUXADC_LINE] = "Line",
[WM8350_AUXADC_BATT] = "Battery",