All of lore.kernel.org
 help / color / mirror / Atom feed
From: Olof Johansson <olof@lixom.net>
To: Philippe De Muyter <phdm@macqel.be>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: [PATCH] fsl_soc : add support for m41t81 rtc chip
Date: Wed, 9 Apr 2008 17:37:28 -0500	[thread overview]
Message-ID: <20080409223728.GA8365@lixom.net> (raw)
In-Reply-To: <20080409222252.GA1006@frolo.macqel>

Hi,

On Thu, Apr 10, 2008 at 12:22:52AM +0200, Philippe De Muyter wrote:
> Hello everybody,
> 
> Here is small patch allowing to use a m41t81 rtc chip on a FSL_SOC based
> board.
> 
> Signed-off-by: Philippe De Muyter <phdm@macqel.be>
> 
> --- a/arch/powerpc/sysdev/fsl_soc.c	2008-03-21 14:53:41.000000000 +0000
> +++ b/arch/powerpc/sysdev/fsl_soc.c	2008-03-26 12:08:25.000000000 +0000
> @@ -405,7 +405,10 @@
>  	{"dallas,ds1339",  "rtc-ds1307",  "ds1339",},
>  	{"dallas,ds1340",  "rtc-ds1307",  "ds1340",},
>  	{"stm,m41t00",     "rtc-ds1307",  "m41t00"},
> +#ifdef CONFIG_RTC_DRV_M41T80
> +	{"stm,m41t81",     "rtc-m41t80",  "m41t81"},
> +#endif

Don't add ifdef here. It doesn't hurt to have it in the table even if
the driver is not enabled.


-Olof

  reply	other threads:[~2008-04-09 22:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-09 22:22 [PATCH] fsl_soc : add support for m41t81 rtc chip Philippe De Muyter
2008-04-09 22:37 ` Olof Johansson [this message]
2008-04-09 22:42 ` Philippe De Muyter

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=20080409223728.GA8365@lixom.net \
    --to=olof@lixom.net \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=phdm@macqel.be \
    /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.