From: Laurent Pinchart Date: Tue, 13 Dec 2016 22:37:33 +0000 (+0200) Subject: ARM: OMAP2+: Make the omapdss_find_dss_of_node() function static X-Git-Tag: v4.11-rc1~90^2~14^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7afa44e0e8dbf80e28e4f5aeaecf5ab6e5487f0d;p=platform%2Fkernel%2Flinux-exynos.git ARM: OMAP2+: Make the omapdss_find_dss_of_node() function static The omapdss_find_dss_of_node() function isn't used outside of its compilation unit, make it static. Signed-off-by: Laurent Pinchart Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/mach-omap2/display.c b/arch/arm/mach-omap2/display.c index 8bb3e554..8fa01c0 100644 --- a/arch/arm/mach-omap2/display.c +++ b/arch/arm/mach-omap2/display.c @@ -317,7 +317,7 @@ static const char * const omapdss_compat_names[] __initconst = { "ti,dra7-dss", }; -struct device_node * __init omapdss_find_dss_of_node(void) +static struct device_node * __init omapdss_find_dss_of_node(void) { struct device_node *node; int i; diff --git a/arch/arm/mach-omap2/display.h b/arch/arm/mach-omap2/display.h index 7375854..9a39646 100644 --- a/arch/arm/mach-omap2/display.h +++ b/arch/arm/mach-omap2/display.h @@ -31,6 +31,4 @@ int omap_init_vrfb(void); int omap_init_fb(void); int omap_init_vout(void); -struct device_node * __init omapdss_find_dss_of_node(void); - #endif