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-Url: https://git.stricted.de/?a=commitdiff_plain;h=5354cb6423fbe590be8e332858a5795577919f84;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.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", };