[PATCH 1/3] 8xx: Analogue & Micro Adder875 board support.

Stephen Rothwell sfr at canb.auug.org.au
Wed Dec 12 15:31:48 EST 2007


Hi Scott,

On Tue, 11 Dec 2007 15:22:45 -0600 Scott Wood <scottwood at freescale.com> wrote:
>
> +++ b/arch/powerpc/platforms/8xx/adder875.c
> +
> +static int __init adder875_probe(void)
> +{
> +	unsigned long root = of_get_flat_dt_root();
> +	return of_flat_dt_is_compatible(root, "analogue-and-micro,adder875");

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

-- 
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/20071212/1640c1cb/attachment.pgp>


More information about the Linuxppc-dev mailing list