staging: imx-drm: Fix warning for static const char * array in imx-ldb.c
authorArchana kumari <archanakumari959@gmail.com>
Wed, 30 Oct 2013 19:04:08 +0000 (00:34 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 10 Nov 2013 16:07:20 +0000 (08:07 -0800)
This patch fixes the warning "static const char * array should
probably be static const char * const" in imx-ldb.c.

Signed-off-by: Archana kumari <archanakumari959@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/imx-drm/imx-ldb.c

index 654bf03..655d0c0 100644 (file)
@@ -414,7 +414,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",
 };