[Patch] Fix compile error for ML300/403

Andrei Konovalov akonovalov at ru.mvista.com
Fri Mar 10 00:33:39 EST 2006


Hi Grant,

Grant Likely wrote:
> Fix compile error due to changes in ppc_sys.c.  This is needed in the
> powerpc.git tree
> 
> Signed-off-by: Grant Likely <grant.likely at secretlab.ca>
> 
> ---
> commit 75ec8a6ff8410c30f459e5e1c924ce811f8b1e25
> tree 87f29c44458d2966bf208f9ea25432b26faa2eb5
> parent 126dddf2535520cbeafb7069ce092b80beb8558a
> author Grant Likely <grant.likely at secretlab.ca> Wed, 08 Mar 2006 16:03:56 -0700
> committer <grant at weasley-twins.(none)> Wed, 08 Mar 2006 16:03:56 -0700
> 
>  arch/ppc/platforms/4xx/virtex.h |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/arch/ppc/platforms/4xx/virtex.h b/arch/ppc/platforms/4xx/virtex.h
> index 2a2a65c..4d893ef 100644
> --- a/arch/ppc/platforms/4xx/virtex.h
> +++ b/arch/ppc/platforms/4xx/virtex.h
> @@ -27,7 +27,7 @@
>  /* Device type enumeration for platform bus definitions */
>  #ifndef __ASSEMBLY__
>  enum ppc_sys_devices {
> -       VIRTEX_UART, VIRTEX_FB,
> +       VIRTEX_UART, VIRTEX_FB, NUM_PPC_SYS_DEVS,

AFAIK there is no VIRTEX_FB in the powerpc.git tree yet.
Otherwise I confirm that adding NUM_PPC_SYS_DEVS is necessary.

Thanks,
Andrei

>  };
>  #endif
> 
> 
> --
> Grant Likely, B.Sc. P.Eng.
> Secret Lab Technologies Ltd.
> (403) 399-0195
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded at ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded




More information about the Linuxppc-embedded mailing list