From mboxrd@z Thu Jan 1 00:00:00 1970 From: kgene.kim@samsung.com (Kukjin Kim) Date: Tue, 18 Dec 2012 19:29:02 -0800 Subject: [PATCH] ARM: exynos: Fix warning due to missing 'inline' in stub In-Reply-To: <1355642780-26929-1-git-send-email-olof@lixom.net> References: <1355642780-26929-1-git-send-email-olof@lixom.net> Message-ID: <001601cddd98$feade870$fc09b950$@samsung.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Olof Johansson wrote: > > In file included from arch/arm/mach-exynos/clock-exynos5.c:29:0: > arch/arm/mach-exynos/common.h:28:12: warning: 'exynos_pm_late_initcall' > defined but not used [-Wunused-function] > > Signed-off-by: Olof Johansson > Cc: Kukjin Kim > Cc: Shawn Guo > --- > > I've added this to the fixes branch on arm-soc. I've also noticed that > every single non-EXYNOS5 board/config fails to build. Kukjin? > I'm OK on this. Thanks for your fix. - Kukjin > arch/arm/mach-exynos/common.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm/mach-exynos/common.h b/arch/arm/mach- > exynos/common.h > index dac146d..04744f9 100644 > --- a/arch/arm/mach-exynos/common.h > +++ b/arch/arm/mach-exynos/common.h > @@ -25,7 +25,7 @@ void exynos_init_late(void); > #ifdef CONFIG_PM_GENERIC_DOMAINS > int exynos_pm_late_initcall(void); > #else > -static int exynos_pm_late_initcall(void) { return 0; } > +static inline int exynos_pm_late_initcall(void) { return 0; } > #endif > > #ifdef CONFIG_ARCH_EXYNOS4 > -- > 1.7.10.1.488.g05fbf7a