diff options
author | Arnd Bergmann <arnd@arndb.de> | 2007-06-17 19:06:54 -0400 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2007-06-29 02:56:23 -0400 |
commit | 09b55f76c9e41ed88f445f64f00ed39b48ed137d (patch) | |
tree | fed87205ed14b98e208844ede72ecb9449d07fcf /arch/powerpc/platforms/83xx/mpc832x_rdb.c | |
parent | b9fd305db0b4723e70f1a5cf06e4a6949755331c (diff) |
[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/83xx/mpc832x_rdb.c')
-rw-r--r-- | arch/powerpc/platforms/83xx/mpc832x_rdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/83xx/mpc832x_rdb.c b/arch/powerpc/platforms/83xx/mpc832x_rdb.c index 3db68b73fc32..8b790d4d0741 100644 --- a/arch/powerpc/platforms/83xx/mpc832x_rdb.c +++ b/arch/powerpc/platforms/83xx/mpc832x_rdb.c | |||
@@ -53,7 +53,7 @@ static void __init mpc832x_rdb_setup_arch(void) | |||
53 | 53 | ||
54 | #ifdef CONFIG_PCI | 54 | #ifdef CONFIG_PCI |
55 | for (np = NULL; (np = of_find_node_by_type(np, "pci")) != NULL;) | 55 | for (np = NULL; (np = of_find_node_by_type(np, "pci")) != NULL;) |
56 | add_bridge(np); | 56 | mpc83xx_add_bridge(np); |
57 | 57 | ||
58 | ppc_md.pci_exclude_device = mpc83xx_exclude_device; | 58 | ppc_md.pci_exclude_device = mpc83xx_exclude_device; |
59 | #endif | 59 | #endif |