All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Brownell <david-b@pacbell.net>
To: Mark Brown <broonie@sirena.org.uk>
Cc: Samuel Ortiz <sameo@openedhand.com>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] mfd: Fix TWL4030 build on some ARM variants
Date: Fri, 30 Jan 2009 11:46:15 -0800	[thread overview]
Message-ID: <200901301146.16242.david-b@pacbell.net> (raw)
In-Reply-To: <1233340937-7679-1-git-send-email-broonie@sirena.org.uk>

On Friday 30 January 2009, Mark Brown wrote:
> Many ARM platforms do not provide a mach/cpu.h so rather than guarding
> the use of that header with CONFIG_ARM guard it with the guards used
> when testing for the OMAP variants in the body of the code.
> 
> Signed-off-by: Mark Brown <broonie@sirena.org.uk>

Acked-by: David Brownell <dbrownell@users.sourceforge.net>


> ---
>  drivers/mfd/twl4030-core.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/mfd/twl4030-core.c b/drivers/mfd/twl4030-core.c
> index e7ab003..68826f1 100644
> --- a/drivers/mfd/twl4030-core.c
> +++ b/drivers/mfd/twl4030-core.c
> @@ -38,7 +38,7 @@
>  #include <linux/i2c.h>
>  #include <linux/i2c/twl4030.h>
>  
> -#ifdef CONFIG_ARM
> +#if defined(CONFIG_ARCH_OMAP2) || defined(CONFIG_ARCH_OMAP3)
>  #include <mach/cpu.h>
>  #endif
>  
> -- 
> 1.5.6.3
> 
> 



  reply	other threads:[~2009-01-30 19:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-30 18:42 [PATCH] mfd: Fix TWL4030 build on some ARM variants Mark Brown
2009-01-30 19:46 ` David Brownell [this message]
2009-02-06 14:00 ` Samuel Ortiz

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=200901301146.16242.david-b@pacbell.net \
    --to=david-b@pacbell.net \
    --cc=broonie@sirena.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sameo@openedhand.com \
    /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.