Subject: Re: [Patch] Fix compile error for ML300/403

From: Andrei Konovalov <[email-masked]>
Date: Thu, 09 Mar 2006 16:33:39 +0300

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 <[email-masked]>
> 
> ---
> commit 75ec8a6ff8410c30f459e5e1c924ce811f8b1e25
> tree 87f29c44458d2966bf208f9ea25432b26faa2eb5
> parent 126dddf2535520cbeafb7069ce092b80beb8558a
> author Grant Likely <[email-masked]> Wed, 08 Mar 2006 16:03:56 -0700
> committer <grant@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
> [email-masked]
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded