public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Hans-Jürgen Koch" <hjk@linutronix.de>
To: Andy Herzig <andrew.herzig@ngc.com>
Cc: Marc Pignat <marc.pignat@hevs.ch>,
	linux-arm-kernel@lists.arm.linux.org.uk, andrew@sanpeople.com,
	trivial@kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] at91 pm: Compilation fix for at91sam926x
Date: Thu, 9 Aug 2007 20:19:46 +0200	[thread overview]
Message-ID: <200708092019.46167.hjk@linutronix.de> (raw)
In-Reply-To: <1186679874.17413.12.camel@leoh9-18574.nges.northgrum.com>

Am Donnerstag 09 August 2007 19:17 schrieb Andy Herzig:
> On Thu, 2007-08-09 at 18:01 +0200, Marc Pignat wrote:
> 
> > > > +#if defined(CONFIG_ARCH_AT91RM9200)
> > > >                         at91_sys_write(AT91_SDRAMC_SRR, 1);     /*
> > > > self-refresh mode */
> > Why don't use:
> > if (cpu_is_at91rm9200())
> > 	at91_sys_write(AT91_SDRAMC_SRR, 1);
> > 
> No reason. That looks good to me.

No, it doesn't look good. It won't compile.

Hans


  reply	other threads:[~2007-08-09 18:20 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-09 12:10 [PATCH] at91 pm: Compilation fix for at91sam926x Andy Herzig
2007-08-09 14:39 ` Andy Herzig
2007-08-09 14:53 ` Hans-Jürgen Koch
2007-08-09 16:01   ` Marc Pignat
2007-08-09 17:17     ` Andy Herzig
2007-08-09 18:19       ` Hans-Jürgen Koch [this message]
2007-08-09 22:15     ` Ulf Samuelsson
2007-08-10  7:12       ` Hans-Jürgen Koch
2007-08-10  7:33         ` Marc Pignat
     [not found]           ` <3858727143598039860@unknownmsgid>
2007-08-10 10:00             ` Michel Benoit
2007-08-24  7:11               ` Andrew Victor
2007-08-10 13:54           ` Ulf Samuelsson

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=200708092019.46167.hjk@linutronix.de \
    --to=hjk@linutronix.de \
    --cc=andrew.herzig@ngc.com \
    --cc=andrew@sanpeople.com \
    --cc=linux-arm-kernel@lists.arm.linux.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marc.pignat@hevs.ch \
    --cc=trivial@kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox