diff options
| author | Olof Johansson <olofj@chromium.org> | 2015-03-03 07:22:33 -0500 |
|---|---|---|
| committer | Olof Johansson <olof@lixom.net> | 2015-03-04 14:23:13 -0500 |
| commit | 377415abab7b49c982475990cd06eef9f33e2ccc (patch) | |
| tree | d7f6125e3e6c59ffca61a9f6dcb33f2d0d77b2b9 /drivers/platform/chrome | |
| parent | ef59c25d1be9539890c03c4915cdd4b868191b6f (diff) | |
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: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Olof Johansson <olofj@chromium.org>
Reviewed-by: Gwendal Grignou <gwendal@chromium.org>
Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'drivers/platform/chrome')
| -rw-r--r-- | drivers/platform/chrome/cros_ec_lightbar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/chrome/cros_ec_lightbar.c b/drivers/platform/chrome/cros_ec_lightbar.c index 35fc892e4c95..b4ff47a9069a 100644 --- a/drivers/platform/chrome/cros_ec_lightbar.c +++ b/drivers/platform/chrome/cros_ec_lightbar.c | |||
| @@ -251,7 +251,7 @@ static ssize_t led_rgb_store(struct device *dev, struct device_attribute *attr, | |||
| 251 | return (ok && i == 0) ? count : -EINVAL; | 251 | return (ok && i == 0) ? count : -EINVAL; |
| 252 | } | 252 | } |
| 253 | 253 | ||
| 254 | static const char const *seqname[] = { | 254 | static char const *seqname[] = { |
| 255 | "ERROR", "S5", "S3", "S0", "S5S3", "S3S0", | 255 | "ERROR", "S5", "S3", "S0", "S5S3", "S3S0", |
| 256 | "S0S3", "S3S5", "STOP", "RUN", "PULSE", "TEST", "KONAMI", | 256 | "S0S3", "S3S5", "STOP", "RUN", "PULSE", "TEST", "KONAMI", |
| 257 | }; | 257 | }; |
