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