summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/85xx/mpc85xx.h
diff options
context:
space:
mode:
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2011-11-17 18:56:17 +0100
committerKumar Gala <galak@kernel.crashing.org>2011-11-24 09:01:41 +0100
commit46d026ac1029daa89dd3bf8a3b458fdaab0a3893 (patch)
treeeaaef690800400178534868069ff289e908ff9dc /arch/powerpc/platforms/85xx/mpc85xx.h
parentpowerpc/85xx: separate cpm2 pic init (diff)
downloadlinux-46d026ac1029daa89dd3bf8a3b458fdaab0a3893.tar.xz
linux-46d026ac1029daa89dd3bf8a3b458fdaab0a3893.zip
powerpc/85xx: consolidate of_platform_bus_probe calls
85xx board files have a lot of duplication in *_publish_devices()/ *_declare_of_platform_devices() functions. Merge that into a single function common to most of the boards. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/platforms/85xx/mpc85xx.h')
-rw-r--r--arch/powerpc/platforms/85xx/mpc85xx.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/85xx/mpc85xx.h b/arch/powerpc/platforms/85xx/mpc85xx.h
index fa55e8b08505..2aa7c5dc2c7f 100644
--- a/arch/powerpc/platforms/85xx/mpc85xx.h
+++ b/arch/powerpc/platforms/85xx/mpc85xx.h
@@ -1,5 +1,7 @@
#ifndef MPC85xx_H
#define MPC85xx_H
+extern int mpc85xx_common_publish_devices(void);
+
#ifdef CONFIG_CPM2
extern void mpc85xx_cpm2_pic_init(void);
#else