diff options
author | Arnd Bergmann <arnd@arndb.de> | 2007-06-18 01:06:54 +0200 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2007-06-29 01:56:23 -0500 |
commit | 09b55f76c9e41ed88f445f64f00ed39b48ed137d (patch) | |
tree | fed87205ed14b98e208844ede72ecb9449d07fcf /arch/powerpc/platforms/85xx/mpc85xx_ads.c | |
parent | b9fd305db0b4723e70f1a5cf06e4a6949755331c (diff) | |
download | linux-09b55f76c9e41ed88f445f64f00ed39b48ed137d.tar.gz linux-09b55f76c9e41ed88f445f64f00ed39b48ed137d.tar.bz2 linux-09b55f76c9e41ed88f445f64f00ed39b48ed137d.zip |
[POWERPC] rename add_bridge to avoid namespace clashes
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>
Diffstat (limited to 'arch/powerpc/platforms/85xx/mpc85xx_ads.c')
-rw-r--r-- | arch/powerpc/platforms/85xx/mpc85xx_ads.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/85xx/mpc85xx_ads.c b/arch/powerpc/platforms/85xx/mpc85xx_ads.c index 5d27621f0927..a4995de6e737 100644 --- a/arch/powerpc/platforms/85xx/mpc85xx_ads.c +++ b/arch/powerpc/platforms/85xx/mpc85xx_ads.c @@ -241,7 +241,7 @@ static void __init mpc85xx_ads_setup_arch(void) #ifdef CONFIG_PCI for (np = NULL; (np = of_find_node_by_type(np, "pci")) != NULL;) - add_bridge(np); + mpc85xx_add_bridge(np); ppc_md.pci_exclude_device = mpc85xx_exclude_device; #endif } |