summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/powerpc/platforms/cell/setup.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/cell/setup.c b/arch/powerpc/platforms/cell/setup.c
index 13f628def36..d704bc19a64 100644
--- a/arch/powerpc/platforms/cell/setup.c
+++ b/arch/powerpc/platforms/cell/setup.c
@@ -51,6 +51,7 @@
#include <asm/spu_priv1.h>
#include <asm/udbg.h>
#include <asm/mpic.h>
+#include <asm/of_platform.h>
#include "interrupt.h"
#include "iommu.h"
@@ -81,6 +82,14 @@ static void cell_progress(char *s, unsigned short hex)
printk("*** %04x : %s\n", hex, s ? s : "");
}
+static int __init cell_publish_devices(void)
+{
+ if (machine_is(cell))
+ of_platform_bus_probe(NULL, NULL, NULL);
+ return 0;
+}
+device_initcall(cell_publish_devices);
+
static void cell_mpic_cascade(unsigned int irq, struct irq_desc *desc)
{
struct mpic *mpic = desc->handler_data;