From: Aybuke Ozdemir Date: Sat, 27 Sep 2014 13:16:02 +0000 (+0300) Subject: staging: imx-drm: Array was made static const char * const X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=8684ba72fa39c424ab788364992f377ef2d96676;p=linux-beck.git 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 --- 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", };