[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Tue, 3 Mar 2015 13:22:33 +0100
From: Javier Martinez Canillas <javier.martinez@...labora.co.uk>
To: Olof Johansson <olof@...om.net>
Cc: Gwendal Grignou <gwendal@...omium.org>,
Dan Carpenter <dan.carpenter@...cle.com>,
Bill Richardson <wfrichar@...omium.org>,
linux-kernel@...r.kernel.org, Olof Johansson <olofj@...omium.org>,
Javier Martinez Canillas <javier.martinez@...labora.co.uk>
Subject: [PATCH 2/2] platform/chrome: cros_ec_lightbar - fix duplicate const warning
From: Olof Johansson <olofj@...omium.org>
Fix the following sparse warning:
drivers/platform/chrome/cros_ec_lightbar.c:254:25: sparse: duplicate const
Reported-by: Dan Carpenter <dan.carpenter@...cle.com>
Signed-off-by: Olof Johansson <olofj@...omium.org>
Reviewed-by: Gwendal Grignou <gwendal@...omium.org>
Signed-off-by: Javier Martinez Canillas <javier.martinez@...labora.co.uk>
---
drivers/platform/chrome/cros_ec_lightbar.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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,
return (ok && i == 0) ? count : -EINVAL;
}
-static const char const *seqname[] = {
+static char const *seqname[] = {
"ERROR", "S5", "S3", "S0", "S5S3", "S3S0",
"S0S3", "S3S5", "STOP", "RUN", "PULSE", "TEST", "KONAMI",
};
--
2.1.3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists