diff options
author | Arnd Bergmann <arnd@arndb.de> | 2007-06-17 23:06:54 (GMT) |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2007-06-29 06:56:23 (GMT) |
commit | 09b55f76c9e41ed88f445f64f00ed39b48ed137d (patch) | |
tree | fed87205ed14b98e208844ede72ecb9449d07fcf /arch/powerpc/platforms/83xx/mpc83xx.h | |
parent | b9fd305db0b4723e70f1a5cf06e4a6949755331c (diff) | |
download | linux-fsl-qoriq-09b55f76c9e41ed88f445f64f00ed39b48ed137d.tar.xz |
[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/mpc83xx.h')
-rw-r--r-- | arch/powerpc/platforms/83xx/mpc83xx.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/83xx/mpc83xx.h b/arch/powerpc/platforms/83xx/mpc83xx.h index 9cd03b5..9bd85f5 100644 --- a/arch/powerpc/platforms/83xx/mpc83xx.h +++ b/arch/powerpc/platforms/83xx/mpc83xx.h @@ -27,7 +27,7 @@ * mpc83xx_* files. Mostly for use by mpc83xx_setup */ -extern int add_bridge(struct device_node *dev); +extern int mpc83xx_add_bridge(struct device_node *dev); extern int mpc83xx_exclude_device(u_char bus, u_char devfn); extern void mpc83xx_restart(char *cmd); extern long mpc83xx_time_init(void); |