Re: Enable RTC for Ebony and Walnut (v2)

2008-01-13 Thread David Gibson
On Fri, Jan 11, 2008 at 05:29:57PM +1100, Stephen Rothwell wrote: > On Fri, 11 Jan 2008 14:25:34 +1100 David Gibson <[EMAIL PROTECTED]> wrote: > > > > +++ working-2.6/arch/powerpc/sysdev/of_rtc.c2008-01-11 > > 14:17:03.0 +1100 > > > +static __initdata struct { > > + const char *

Re: Enable RTC for Ebony and Walnut (v2)

2008-01-10 Thread Stephen Rothwell
On Fri, 11 Jan 2008 14:25:34 +1100 David Gibson <[EMAIL PROTECTED]> wrote: > > +++ working-2.6/arch/powerpc/sysdev/of_rtc.c 2008-01-11 14:17:03.0 > +1100 > +static __initdata struct { > + const char *compatible; If you make this an array, then the string will become __initdata as we

Enable RTC for Ebony and Walnut (v2)

2008-01-10 Thread David Gibson
This patch extends the Ebony and Walnut platform code to instantiate the existing ds1742 RTC class driver for the DS1743 RTC/NVRAM chip found on both those boards. The patch uses a helper function to scan the device tree and instantiate the appropriate platform_device based on it, so it should be

Re: Enable RTC for Ebony and Walnut

2008-01-06 Thread Olof Johansson
On Wed, Jan 02, 2008 at 10:42:08PM +1100, David Gibson wrote: > On Fri, Dec 21, 2007 at 03:29:22PM -0600, Olof Johansson wrote: > > Hi, > > > > On Fri, Dec 21, 2007 at 01:21:30PM +1100, David Gibson wrote: > > > Index: working-2.6/arch/powerpc/platforms/Kconfig > > > ==

Re: Enable RTC for Ebony and Walnut

2008-01-05 Thread David Gibson
On Fri, Dec 21, 2007 at 03:29:22PM -0600, Olof Johansson wrote: > Hi, > > On Fri, Dec 21, 2007 at 01:21:30PM +1100, David Gibson wrote: > > Index: working-2.6/arch/powerpc/platforms/Kconfig > > === > > --- working-2.6.orig/arch/powerp

Re: Enable RTC for Ebony and Walnut

2007-12-21 Thread Olof Johansson
Hi, On Fri, Dec 21, 2007 at 01:21:30PM +1100, David Gibson wrote: > Index: working-2.6/arch/powerpc/platforms/Kconfig > === > --- working-2.6.orig/arch/powerpc/platforms/Kconfig 2007-12-10 > 10:52:44.0 +1100 > +++ working-2

Re: Enable RTC for Ebony and Walnut

2007-12-20 Thread Stephen Rothwell
On Fri, 21 Dec 2007 13:21:30 +1100 David Gibson <[EMAIL PROTECTED]> wrote: > > +++ working-2.6/arch/powerpc/sysdev/of_rtc.c 2007-12-21 13:11:34.0 > +1100 > +#include Use linux/of_platform.h, please. > + > +static struct { const or __initdata > + char *compatible; const > +

Enable RTC for Ebony and Walnut

2007-12-20 Thread David Gibson
This patch extends the Ebony and Walnut platform code to instantiate the existing ds1742 RTC class driver for the DS1743 RTC/NVRAM chip found on both those boards. The patch uses a helper function to scan the device tree and instantiate the appropriate platform_device based on it, so it should be