提交 5354cb64 编写于 作者: A Archana kumari 提交者: Greg Kroah-Hartman

staging: imx-drm: Fix warning for static const char * array in imx-ldb.c

This patch fixes the warning "static const char * array should
probably be static const char * const" in imx-ldb.c.
Signed-off-by: NArchana kumari <archanakumari959@gmail.com>
Reviewed-by: NJosh Triplett <josh@joshtriplett.org>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 9b38da66
......@@ -414,7 +414,7 @@ enum {
LVDS_BIT_MAP_JEIDA
};
static const char *imx_ldb_bit_mappings[] = {
static const char * const imx_ldb_bit_mappings[] = {
[LVDS_BIT_MAP_SPWG] = "spwg",
[LVDS_BIT_MAP_JEIDA] = "jeida",
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册