Thread (29 messages) flat view 29 messages, 6 authors, 2007-06-13

Re: [patch 04/10] powerpc: rename add_bridge to avoid namespace clashes

From: Stephen Rothwell <hidden>
Date: 2007-06-12 04:11:15

On Tue, 12 Jun 2007 01:28:28 +0200 arnd@arndb.de wrote:
quoted hunk ↗ jump to hunk
Many platforms currently define their own add_bridge function, some
of them globally. This breaks some multiplatform configurations.
Prefixing each of these functions with the platform name avoids
this problem.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Index: linux-2.6/arch/powerpc/platforms/82xx/mpc82xx_ads.c
===================================================================
--- linux-2.6.orig/arch/powerpc/platforms/82xx/mpc82xx_ads.c
+++ linux-2.6/arch/powerpc/platforms/82xx/mpc82xx_ads.c
@@ -49,7 +49,7 @@
 #include <linux/fs_enet_pd.h>
 
 #include <sysdev/fsl_soc.h>
-#include <../sysdev/cpm2_pic.h>
+#include <../../sysdev/cpm2_pic.h>
This is a separate fix and so should be a separate patch.  You might also
consider putting that include file in include/asm-powerpc...

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help