aboutsummaryrefslogtreecommitdiffstats
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 13f628def363..d704bc19a646 100644
--- a/arch/powerpc/platforms/cell/setup.c
+++ b/arch/powerpc/platforms/cell/setup.c
@@ -51,6 +51,7 @@
51#include <asm/spu_priv1.h> 51#include <asm/spu_priv1.h>
52#include <asm/udbg.h> 52#include <asm/udbg.h>
53#include <asm/mpic.h> 53#include <asm/mpic.h>
54#include <asm/of_platform.h>
54 55
55#include "interrupt.h" 56#include "interrupt.h"
56#include "iommu.h" 57#include "iommu.h"
@@ -81,6 +82,14 @@ static void cell_progress(char *s, unsigned short hex)
81 printk("*** %04x : %s\n", hex, s ? s : ""); 82 printk("*** %04x : %s\n", hex, s ? s : "");
82} 83}
83 84
85static int __init cell_publish_devices(void)
86{
87 if (machine_is(cell))
88 of_platform_bus_probe(NULL, NULL, NULL);
89 return 0;
90}
91device_initcall(cell_publish_devices);
92
84static void cell_mpic_cascade(unsigned int irq, struct irq_desc *desc) 93static void cell_mpic_cascade(unsigned int irq, struct irq_desc *desc)
85{ 94{
86 struct mpic *mpic = desc->handler_data; 95 struct mpic *mpic = desc->handler_data;