Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7fc6cb28 authored by Liu Ying's avatar Liu Ying Committed by Greg Kroah-Hartman
Browse files

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: default avatarShawn Guo <shawn.guo@linaro.org>
Signed-off-by: default avatarLiu Ying <Ying.Liu@freescale.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 8a3cecf5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;