[<prev] [next>] [day] [month] [year] [list]
Message-id: <000901cdb0d5$7aa097c0$6fe1c740$%han@samsung.com>
Date: Tue, 23 Oct 2012 13:18:39 +0900
From: Jingoo Han <jg1.han@...sung.com>
To: 'Andrew Morton' <akpm@...ux-foundation.org>,
'LKML' <linux-kernel@...r.kernel.org>
Cc: 'Richard Purdie' <rpurdie@...ys.net>,
'Ashish Jangam' <ashish.jangam@...tcummins.com>,
'Jingoo Han' <jg1.han@...sung.com>
Subject: [PATCH 1/4] backlight: da9052: add missing const
Add 'const' to static array that was missing it in its
definition.
Signed-off-by: Jingoo Han <jg1.han@...sung.com>
Cc: Ashish Jangam <ashish.jangam@...tcummins.com>
Cc: Richard Purdie <rpurdie@...ys.net>
---
drivers/video/backlight/da9052_bl.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/video/backlight/da9052_bl.c b/drivers/video/backlight/da9052_bl.c
index ac19618..842da5a 100644
--- a/drivers/video/backlight/da9052_bl.c
+++ b/drivers/video/backlight/da9052_bl.c
@@ -34,7 +34,7 @@ enum {
DA9052_TYPE_WLED3,
};
-static unsigned char wled_bank[] = {
+static const unsigned char wled_bank[] = {
DA9052_LED1_CONF_REG,
DA9052_LED2_CONF_REG,
DA9052_LED3_CONF_REG,
--
1.7.1
--
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