On Sun, 07 Oct 2007 13:19:54 +0200 Marian Balakowicz <[EMAIL PROTECTED]> wrote: > > +++ b/arch/powerpc/platforms/52xx/tqm5200.c > > +#include <asm/prom.h>
You need this for the flattened device tree stuff, so good. However ...
> +#include <asm/of_platform.h>
You should not include this file. And you actually don't use any of the
of_platform routines, but you do need linux/of.h for the of_find_ ...
routines.
> +void tqm5200_show_cpuinfo(struct seq_file *m)
> +{
> + struct device_node* np = of_find_all_nodes(NULL);
Not sure about this - if you want to find the root node, then you should
probably do that explicitly.
--
Cheers,
Stephen Rothwell [EMAIL PROTECTED]
http://www.canb.auug.org.au/~sfr/
pgp3pn1524uQI.pgp
Description: PGP signature
_______________________________________________ Linuxppc-dev mailing list [email protected] https://ozlabs.org/mailman/listinfo/linuxppc-dev
