staging: imx-drm: imx-ldb: Staticize of_get_data_mapping()

Staticize of_get_data_mapping() in order to fix the following sparse warning:

drivers/staging/imx-drm/imx-ldb.c:424:11: warning: symbol 'of_get_data_mapping' was not declared. Should it be static?

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Fabio Estevam 2013-09-01 22:11:55 -03:00 committed by Greg Kroah-Hartman
parent 3dd89f9f1b
commit d78b1406ef
1 changed files with 1 additions and 1 deletions

View File

@ -421,7 +421,7 @@ static const char *imx_ldb_bit_mappings[] = {
[LVDS_BIT_MAP_JEIDA] = "jeida",
};
const int of_get_data_mapping(struct device_node *np)
static const int of_get_data_mapping(struct device_node *np)
{
const char *bm;
int ret, i;