Commit 377415ab authored by Olof Johansson's avatar Olof Johansson Committed by Olof Johansson

platform/chrome: cros_ec_lightbar - fix duplicate const warning

Fix the following sparse warning:

    drivers/platform/chrome/cros_ec_lightbar.c:254:25: sparse: duplicate const
Reported-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarOlof Johansson <olofj@chromium.org>
Reviewed-by: default avatarGwendal Grignou <gwendal@chromium.org>
Signed-off-by: default avatarJavier Martinez Canillas <javier.martinez@collabora.co.uk>
Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
parent ef59c25d
...@@ -251,7 +251,7 @@ static ssize_t led_rgb_store(struct device *dev, struct device_attribute *attr, ...@@ -251,7 +251,7 @@ static ssize_t led_rgb_store(struct device *dev, struct device_attribute *attr,
return (ok && i == 0) ? count : -EINVAL; return (ok && i == 0) ? count : -EINVAL;
} }
static const char const *seqname[] = { static char const *seqname[] = {
"ERROR", "S5", "S3", "S0", "S5S3", "S3S0", "ERROR", "S5", "S3", "S0", "S5S3", "S3S0",
"S0S3", "S3S5", "STOP", "RUN", "PULSE", "TEST", "KONAMI", "S0S3", "S3S5", "STOP", "RUN", "PULSE", "TEST", "KONAMI",
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment