diff options
author | Archana kumari <archanakumari959@gmail.com> | 2013-10-31 00:34:08 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-11-10 08:07:20 -0800 |
commit | 5354cb6423fbe590be8e332858a5795577919f84 (patch) | |
tree | d257043b66a540ca942900b931cc87470e809449 /drivers/staging | |
parent | 9b38da66d0011cd7c8ba04aa92bd0d362bd6be17 (diff) | |
download | op-kernel-dev-5354cb6423fbe590be8e332858a5795577919f84.zip op-kernel-dev-5354cb6423fbe590be8e332858a5795577919f84.tar.gz |
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: Archana kumari <archanakumari959@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/imx-drm/imx-ldb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/imx-drm/imx-ldb.c b/drivers/staging/imx-drm/imx-ldb.c index 654bf03..655d0c0 100644 --- a/drivers/staging/imx-drm/imx-ldb.c +++ b/drivers/staging/imx-drm/imx-ldb.c @@ -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", }; |