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

Stephen Rothwell sfr at canb.auug.org.au
Thu Nov 15 10:21:49 EST 2007


Hi Marian,

On Wed, 14 Nov 2007 11:21:37 +0100 Marian Balakowicz <m8 at semihalf.com> wrote:
>
> +++ b/arch/powerpc/platforms/52xx/mpc5200_simple.c
> +#include <asm/time.h>
> +#include <asm/machdep.h>
> +#include <asm/mpc52xx.h>

You still need asm/prom.h because you use of_get_flat_dt_root() and
of_flat_dt_is_compatible().

> +/* list of the supported boards */
> +static const char *board[] __initdata = {

Unfortunately you can't use "const" and "__initdata", so just remove the
"const".  (const changes the attributes on the section that __initdata is
stored in.)

-- 
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/20071115/d0c05228/attachment.pgp>


More information about the Linuxppc-dev mailing list