All of lore.kernel.org
 help / color / mirror / Atom feed
From: maxime.ripard@free-electrons.com (Maxime Ripard)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: sunxi: add missing include for mdelay()
Date: Fri, 30 Nov 2012 09:18:18 +0100	[thread overview]
Message-ID: <50B86BCA.7050103@free-electrons.com> (raw)
In-Reply-To: <20121130013730.GA30592@beefymiracle.amer.corp.natinst.com>

Le 30/11/2012 02:37, Josh Cartwright a ?crit :
>   CC      arch/arm/mach-sunxi/sunxi.o
> ./arch/arm/mach-sunxi/sunxi.c: In function 'sunxi_restart':
> ./arch/arm/mach-sunxi/sunxi.c:55:3: error: implicit declaration of function 'mdelay' [-Werror=implicit-function-declaration]
> 
> Signed-off-by: Josh Cartwright <josh.cartwright@ni.com>

Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>

> ---
> Fixes multiplatform build error seen with today's linux-next-20121129.
> 
>  arch/arm/mach-sunxi/sunxi.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm/mach-sunxi/sunxi.c b/arch/arm/mach-sunxi/sunxi.c
> index dc634ae..9be910f 100644
> --- a/arch/arm/mach-sunxi/sunxi.c
> +++ b/arch/arm/mach-sunxi/sunxi.c
> @@ -10,6 +10,7 @@
>   * warranty of any kind, whether express or implied.
>   */
>  
> +#include <linux/delay.h>
>  #include <linux/kernel.h>
>  #include <linux/init.h>
>  #include <linux/of_address.h>
> 


-- 
Maxime Ripard, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

WARNING: multiple messages have this Message-ID (diff)
From: Maxime Ripard <maxime.ripard@free-electrons.com>
To: Josh Cartwright <josh.cartwright@ni.com>
Cc: arm@kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] ARM: sunxi: add missing include for mdelay()
Date: Fri, 30 Nov 2012 09:18:18 +0100	[thread overview]
Message-ID: <50B86BCA.7050103@free-electrons.com> (raw)
In-Reply-To: <20121130013730.GA30592@beefymiracle.amer.corp.natinst.com>

Le 30/11/2012 02:37, Josh Cartwright a écrit :
>   CC      arch/arm/mach-sunxi/sunxi.o
> ./arch/arm/mach-sunxi/sunxi.c: In function 'sunxi_restart':
> ./arch/arm/mach-sunxi/sunxi.c:55:3: error: implicit declaration of function 'mdelay' [-Werror=implicit-function-declaration]
> 
> Signed-off-by: Josh Cartwright <josh.cartwright@ni.com>

Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>

> ---
> Fixes multiplatform build error seen with today's linux-next-20121129.
> 
>  arch/arm/mach-sunxi/sunxi.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm/mach-sunxi/sunxi.c b/arch/arm/mach-sunxi/sunxi.c
> index dc634ae..9be910f 100644
> --- a/arch/arm/mach-sunxi/sunxi.c
> +++ b/arch/arm/mach-sunxi/sunxi.c
> @@ -10,6 +10,7 @@
>   * warranty of any kind, whether express or implied.
>   */
>  
> +#include <linux/delay.h>
>  #include <linux/kernel.h>
>  #include <linux/init.h>
>  #include <linux/of_address.h>
> 


-- 
Maxime Ripard, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

  reply	other threads:[~2012-11-30  8:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-30  1:37 [PATCH] ARM: sunxi: add missing include for mdelay() Josh Cartwright
2012-11-30  1:37 ` Josh Cartwright
2012-11-30  8:18 ` Maxime Ripard [this message]
2012-11-30  8:18   ` Maxime Ripard
2012-11-30 17:58   ` Olof Johansson
2012-11-30 17:58     ` Olof Johansson

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=50B86BCA.7050103@free-electrons.com \
    --to=maxime.ripard@free-electrons.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.