Re: Enable RTC for Ebony and Walnut (v2)
From: Stephen Rothwell <hidden>
Date: 2008-01-11 06:30:09
Attachments
- (unnamed) [application/pgp-signature] 189 bytes
From: Stephen Rothwell <hidden>
Date: 2008-01-11 06:30:09
On Fri, 11 Jan 2008 14:25:34 +1100 David Gibson [off-list ref] wrote:
+++ working-2.6/arch/powerpc/sysdev/of_rtc.c 2008-01-11 14:17:03.000000000 +1100
+static __initdata struct {
+ const char *compatible;If you make this an array, then the string will become __initdata as well.
+ char *plat_name;
+} of_rtc_table[] = {
+ { "ds1743-nvram", "rtc-ds1742" },
+};+ platform_device_register_simple(plat_name, -1, res, 1);
Do we care if this fails? -- Cheers, Stephen Rothwell sfr@canb.auug.org.au http://www.canb.auug.org.au/~sfr/