Re: build fails for adder875 for new pulls of powerpc.git

2008-01-31 Thread Jochen Friedrich
Hi Rognlien,

 The latest commits to powerpc.git removes commproc.h files used by 
 arch/powerpc/platforms/8xx/adder875.c
 
 The kernel fails to build for the adder configs.

This should fix it:

diff --git a/arch/powerpc/platforms/8xx/adder875.c 
b/arch/powerpc/platforms/8xx/adder875.c
index c6bc078..b49d62a 100644
--- a/arch/powerpc/platforms/8xx/adder875.c
+++ b/arch/powerpc/platforms/8xx/adder875.c
@@ -15,12 +15,12 @@
 
 #include asm/time.h
 #include asm/machdep.h
-#include asm/commproc.h
+#include asm/cpm1.h
 #include asm/fs_pd.h
 #include asm/udbg.h
 #include asm/prom.h
 
-#include sysdev/commproc.h
+#include mpc8xx.h
 
 struct cpm_pin {
int port, pin, flags;

Thanks,
Jochen
___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev


Re: build fails for adder875 for new pulls of powerpc.git

2008-01-31 Thread Kumar Gala

On Jan 31, 2008, at 12:20 PM, Jochen Friedrich wrote:

 Hi Rognlien,

 The latest commits to powerpc.git removes commproc.h files used by  
 arch/powerpc/platforms/8xx/adder875.c

 The kernel fails to build for the adder configs.

 This should fix it:

 diff --git a/arch/powerpc/platforms/8xx/adder875.c b/arch/powerpc/ 
 platforms/8xx/adder875.c
 index c6bc078..b49d62a 100644
 --- a/arch/powerpc/platforms/8xx/adder875.c
 +++ b/arch/powerpc/platforms/8xx/adder875.c
 @@ -15,12 +15,12 @@

 #include asm/time.h
 #include asm/machdep.h
 -#include asm/commproc.h
 +#include asm/cpm1.h
 #include asm/fs_pd.h
 #include asm/udbg.h
 #include asm/prom.h

 -#include sysdev/commproc.h
 +#include mpc8xx.h

 struct cpm_pin {
   int port, pin, flags;

 Thanks,
 Jochen

I'll take scott's version as its more complete and fixes another board.

- k
___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev


Re: build fails for adder875 for new pulls of powerpc.git

2008-01-31 Thread Jochen Friedrich
Hi Rognlien,

 Hi Rognlien,
 
 The latest commits to powerpc.git removes commproc.h files used by 
 arch/powerpc/platforms/8xx/adder875.c

 The kernel fails to build for the adder configs.
 
 This should fix it:
 
 diff --git a/arch/powerpc/platforms/8xx/adder875.c 
 b/arch/powerpc/platforms/8xx/adder875.c
 index c6bc078..b49d62a 100644
 --- a/arch/powerpc/platforms/8xx/adder875.c
 +++ b/arch/powerpc/platforms/8xx/adder875.c
 @@ -15,12 +15,12 @@
  
  #include asm/time.h
  #include asm/machdep.h
 -#include asm/commproc.h
 +#include asm/cpm1.h
  #include asm/fs_pd.h
  #include asm/udbg.h
  #include asm/prom.h
  
 -#include sysdev/commproc.h
 +#include mpc8xx.h
  
  struct cpm_pin {
   int port, pin, flags;

sorry, this fix was incomplete. Scott Wood just posted a correct fix.

Thanks,
Jochen
___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev