staging: imx-drm: Array was made static const char * const
authorAybuke Ozdemir <aybuke.147@gmail.com>
Sat, 27 Sep 2014 13:16:02 +0000 (16:16 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 29 Sep 2014 02:08:13 +0000 (22:08 -0400)
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 <aybuke.147@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/imx-drm/imx-tve.c

index 31fe7cfe5d35420ce19259f05c280e78f75eb032..fa8f827a47fc058eb1851c86b21989bc17e4446b 100644 (file)
@@ -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",
 };