staging: imx-drm: imx-tve: Fix a sparse warning

This patch declares the function of_get_tve_mode
as a static one to fix this sparse warning:
drivers/staging/imx-drm/imx-tve.c:563:11: warning: \
symbol 'of_get_tve_mode' was not declared. \
Should it be static?

Acked-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Liu Ying 2013-12-24 10:17:44 +08:00 committed by Greg Kroah-Hartman
parent 8a3cecf503
commit 7fc6cb2876

View File

@ -560,7 +560,7 @@ static const char *imx_tve_modes[] = {
[TVE_MODE_VGA] = "vga",
};
const int of_get_tve_mode(struct device_node *np)
static const int of_get_tve_mode(struct device_node *np)
{
const char *bm;
int ret, i;