linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [Patch] Fix compile error for ML300/403
@ 2006-03-08 23:07 Grant Likely
  2006-03-09 13:33 ` Andrei Konovalov
  0 siblings, 1 reply; 3+ messages in thread
From: Grant Likely @ 2006-03-08 23:07 UTC (permalink / raw)
  To: linuxppc-embedded list, Matt Porter, Paul Mackerras

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@secretlab.ca>

---
commit 75ec8a6ff8410c30f459e5e1c924ce811f8b1e25
tree 87f29c44458d2966bf208f9ea25432b26faa2eb5
parent 126dddf2535520cbeafb7069ce092b80beb8558a
author Grant Likely <grant.likely@secretlab.ca> 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/virte=
x.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,
 };
 #endif


--
Grant Likely, B.Sc. P.Eng.
Secret Lab Technologies Ltd.
(403) 399-0195

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [Patch] Fix compile error for ML300/403
  2006-03-08 23:07 [Patch] Fix compile error for ML300/403 Grant Likely
@ 2006-03-09 13:33 ` Andrei Konovalov
  2006-03-10  6:36   ` Grant Likely
  0 siblings, 1 reply; 3+ messages in thread
From: Andrei Konovalov @ 2006-03-09 13:33 UTC (permalink / raw)
  To: Grant Likely; +Cc: Paul Mackerras, linuxppc-embedded list

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@secretlab.ca>
> 
> ---
> commit 75ec8a6ff8410c30f459e5e1c924ce811f8b1e25
> tree 87f29c44458d2966bf208f9ea25432b26faa2eb5
> parent 126dddf2535520cbeafb7069ce092b80beb8558a
> author Grant Likely <grant.likely@secretlab.ca> 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
> Linuxppc-embedded@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Patch] Fix compile error for ML300/403
  2006-03-09 13:33 ` Andrei Konovalov
@ 2006-03-10  6:36   ` Grant Likely
  0 siblings, 0 replies; 3+ messages in thread
From: Grant Likely @ 2006-03-10  6:36 UTC (permalink / raw)
  To: Andrei Konovalov; +Cc: Paul Mackerras, linuxppc-embedded list

On 3/9/06, Andrei Konovalov <akonovalov@ru.mvista.com> wrote:
> > diff --git a/arch/ppc/platforms/4xx/virtex.h b/arch/ppc/platforms/4xx/v=
irtex.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.

heh, oops.  yeah, I've got the FB driver in my local tree.  Fixed
patch attached...

-----

[patch] Fix compile error for ML300/403.

Due to changes in ppc_sys.c.  This is needed in Paul's powerpc.git tree

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>

---
commit 60a9fb927e8f68d307339e6e268452d2c62b717f
tree e62d99cb4fa697d8d59af2a3ab063e050ba6ca99
parent 6749c5507388f3fc3719f57a54b540ee83f6661a
author Grant Likely <grant.likely@secretlab.ca> Wed, 08 Mar 2006 16:03:56 -=
0700
committer <grant@weasley-twins.(none)> Thu, 09 Mar 2006 23:30:38 -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/virte=
x.h
index 1a01b81..c14325d 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_UART, NUM_PPC_SYS_DEVS,
 };
 #endif

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-03-10  6:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-08 23:07 [Patch] Fix compile error for ML300/403 Grant Likely
2006-03-09 13:33 ` Andrei Konovalov
2006-03-10  6:36   ` Grant Likely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).