[PATCH] fix 2.6.25-rc2 build with CONFIG_SPI_MPC52xx_PSC

EricDuj eric.dujardin at sagem.com
Wed Feb 20 01:50:52 EST 2008


Hello again,

Here is a second patch as the link phase fails in 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

Find the patch below.
Best,
Eric

===========================================================================
--- 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
========================================================================


-- 
View this message in context: http://www.nabble.com/-PATCH--fix-2.6.25-rc2-compilation-with-CONFIG_SPI_MPC52xx_PSC-tp15560559p15560565.html
Sent from the linuxppc-dev mailing list archive at Nabble.com.




More information about the Linuxppc-dev mailing list