Skip to contentSkip to conversation

Staging: imx-drm: Array was made static const char * const

PATCH New Yeliz Taneroglu 1 participant 1 message Feb 20, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Staging: imx-drm: Array was made static const char * const

This patch fixes checkpatch.pl warning in file imx-tve.c
WARNING: static const char * array should probably be static const char
* const

---
 drivers/staging/imx-drm/imx-tve.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/imx-drm/imx-tve.c +1 -1
index 31fe7cf..b1063a8 100644
@@ -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",
 };
Signature · 1 line
1.8.3.2