diff options
author | Aybuke Ozdemir <aybuke.147@gmail.com> | 2014-09-27 16:16:02 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-28 22:08:13 -0400 |
commit | 8684ba72fa39c424ab788364992f377ef2d96676 (patch) | |
tree | 18d69af5380d8f31425b75acd25f124fb33c8e43 /drivers/staging/imx-drm | |
parent | 1da2a44bf8615ab40e5d4f7408b873385b6beee0 (diff) |
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 <aybuke.147@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/imx-drm')
-rw-r--r-- | drivers/staging/imx-drm/imx-tve.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/imx-drm/imx-tve.c b/drivers/staging/imx-drm/imx-tve.c index 31fe7cfe5d3..fa8f827a47f 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", }; |