[PATCH v4 04/13] [POWERPC] Add generic support for simple MPC5200 based boards

Stephen Rothwell sfr at canb.auug.org.au
Sat Nov 10 11:31:33 EST 2007


On Fri, 09 Nov 2007 18:12:02 +0100 Marian Balakowicz <m8 at semihalf.com> wrote:
>
> +++ b/arch/powerpc/platforms/52xx/mpc5200_simple.c
>
> +static int __init mpc5200_simple_probe(void)
> +{
> +	unsigned long node = of_get_flat_dt_root();

You need to include asm/prom.h to use the flattened device tree accessors.

> +	/* list of the supported boards */
> +	const char *board[] = {	
> +		"tqc,tqm5200",
> +		"promess,motionpro",
> +		"schindler,cm5200",
> +		NULL
> +	};

Make that static.

-- 
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/20071110/e9e659ca/attachment.pgp>


More information about the Linuxppc-dev mailing list