All of lore.kernel.org
 help / color / mirror / Atom feed
From: kgene.kim@samsung.com (Kukjin Kim)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: exynos: Fix warning due to missing 'inline' in stub
Date: Tue, 18 Dec 2012 19:29:02 -0800	[thread overview]
Message-ID: <001601cddd98$feade870$fc09b950$@samsung.com> (raw)
In-Reply-To: <1355642780-26929-1-git-send-email-olof@lixom.net>

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 <olof@lixom.net>
> Cc: Kukjin Kim <kgene.kim@samsung.com>
> Cc: Shawn Guo <shawn.guo@linaro.org>
> ---
> 
> 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

      reply	other threads:[~2012-12-19  3:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-16  7:26 [PATCH] ARM: exynos: Fix warning due to missing 'inline' in stub Olof Johansson
2012-12-19  3:29 ` Kukjin Kim [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='001601cddd98$feade870$fc09b950$@samsung.com' \
    --to=kgene.kim@samsung.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.