From 8684ba72fa39c424ab788364992f377ef2d96676 Mon Sep 17 00:00:00 2001 From: Aybuke Ozdemir Date: Sat, 27 Sep 2014 16:16:02 +0300 Subject: [PATCH] staging: imx-drm: Array was made static const char * const This patch fixes checkpatch.pl error in file imx-tve.c WARNING: static const char * array should probably be static const char * const Signed-off-by: Aybuke Ozdemir Signed-off-by: Greg Kroah-Hartman --- drivers/staging/imx-drm/imx-tve.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/imx-drm/imx-tve.c b/drivers/staging/imx-drm/imx-tve.c index 31fe7cfe5d35..fa8f827a47fc 100644 --- a/drivers/staging/imx-drm/imx-tve.c +++ b/drivers/staging/imx-drm/imx-tve.c @@ -538,7 +538,7 @@ static struct regmap_config tve_regmap_config = { .max_register = 0xdc, }; -static const char *imx_tve_modes[] = { +static const char * const imx_tve_modes[] = { [TVE_MODE_TVOUT] = "tvout", [TVE_MODE_VGA] = "vga", }; -- 2.20.1