Enable RTC for Ebony and Walnut (v2)

Stephen Rothwell sfr at canb.auug.org.au
Fri Jan 11 17:29:57 EST 2008


On Fri, 11 Jan 2008 14:25:34 +1100 David Gibson <dwg at au1.ibm.com> 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 at canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20080111/6aee4a68/attachment.pgp>


More information about the Linuxppc-dev mailing list