From: Archana kumari Date: Wed, 30 Oct 2013 19:04:08 +0000 (+0530) Subject: staging: imx-drm: Fix warning for static const char * array in imx-ldb.c X-Git-Tag: next-20131128~9^2~87^2~221 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=5354cb6423fbe590be8e332858a5795577919f84;p=karo-tx-linux.git staging: imx-drm: Fix warning for static const char * array in imx-ldb.c 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 Reviewed-by: Josh Triplett Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/imx-drm/imx-ldb.c b/drivers/staging/imx-drm/imx-ldb.c index 654bf03e05ff..655d0c0f4ace 100644 --- a/drivers/staging/imx-drm/imx-ldb.c +++ b/drivers/staging/imx-drm/imx-ldb.c @@ -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", };