[OPW,kernel] Staging: imx-drm: changing -static const char * array to static const char* const
diff mbox

Message ID 20131015151234.GA13801@Ashvini
State Rejected
Headers show

Commit Message

Ashvini Varatharaj Oct. 15, 2013, 3:12 p.m. UTC
Fix checkpatch warning: WARNING: static const char * array should be
static const char * const

Signed-off-by: Ashvini Varatharaj <ashvinivaratharaj@gmail.com>
---
 drivers/staging/imx-drm/imx-ldb.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 create mode 100644 drivers/staging/imx-drm/imx-drm.c

Patch
diff mbox

diff --git a/drivers/staging/imx-drm/imx-drm.c b/drivers/staging/imx-drm/imx-drm.c
new file mode 100644
index 0000000..e69de29
diff --git a/drivers/staging/imx-drm/imx-ldb.c b/drivers/staging/imx-drm/imx-ldb.c
index 926f493..83bce85 100644
--- a/drivers/staging/imx-drm/imx-ldb.c
+++ b/drivers/staging/imx-drm/imx-ldb.c
@@ -416,7 +416,7 @@  enum {
 	LVDS_BIT_MAP_JEIDA
 };
 
-static const char *imx_ldb_bit_mappings[] = {
+static const char * const imx_ldb_bit_mappings[] = {
 	[LVDS_BIT_MAP_SPWG]  = "spwg",
 	[LVDS_BIT_MAP_JEIDA] = "jeida",
 };