Subject: Re: [BUG][PATCH] 2.6.25-rc2 build fails on mpc52xx_psc_spi

From: EricDuj <[email-masked]>
Date: Tue, 19 Feb 2008 03:58:20 -0800 (PST)

Hello again,

Here is a second patch as the link fails with the same configuration. The
error is the following:

Image Name:   Linux-2.6.25-rc2
Created:      Tue Feb 19 13:57:46 2008
Image Type:   PowerPC Linux Kernel Image (gzip compressed)
Data Size:    1662959 Bytes = 1623.98 kB = 1.59 MB
Load Address: 0x00400000
Entry Point:  0x00400550
  Building modules, stage 2.
  MODPOST 24 modules
ERROR: "mpc52xx_set_psc_clkdiv" [drivers/spi/mpc52xx_psc_spi.ko] undefined!
make[1]: *** [__modpost] Erreur 1
make: *** [modules] Erreur 2

Here is the patch:

--- arch/powerpc/platforms/52xx/mpc52xx_common.c.orig	2008-02-19
14:14:52.000000000 +0100
+++ arch/powerpc/platforms/52xx/mpc52xx_common.c	2008-02-19
14:12:56.000000000 +0100
@@ -199,6 +199,7 @@
 
 	return 0;
 }
+EXPORT_SYMBOL(mpc52xx_set_psc_clkdiv);
 
 /**
  * mpc52xx_restart: ppc_md->restart hook for mpc5200 using the watchdog
timer

Best,

Eric

EricDuj wrote:
> 
> Hi all,
> 
> I am trying to cross compile the vanilla 2.6.25-rc2 kernel with the Denx
> 4.1 toolchain (gcc-4.0.0 based).
> 
> 

-- 
View this message in context: http://www.nabble.com/-BUG--PATCH--2.6.25-rc2-build-fails-on-mpc52xx_psc_spi-tp15560559p15560565.html
Sent from the linuxppc-dev mailing list archive at Nabble.com.