From f221db68cabbd13d7f57619118144f00ff3eae7a Mon Sep 17 00:00:00 2001 From: Benjamin Herrenschmidt Date: Sat, 11 Nov 2006 17:25:00 +1100 Subject: [PATCH] --- yaml --- r: 42219 b: refs/heads/master c: 96289b07eb319ab3f64db3f0d981970aa1d60a60 h: refs/heads/master i: 42217: 0c8e5e47e495732bd996eb3c0e9d7b20bd0a1c3b 42215: 7d50d52b5817ef01732e00815ec26fe12b4c5245 v: v3 --- [refs] | 2 +- trunk/arch/powerpc/platforms/cell/setup.c | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 471f79a449c0..eb749df66080 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 7eebde700fe6fd6573e80bd8e5ed82b4ae705575 +refs/heads/master: 96289b07eb319ab3f64db3f0d981970aa1d60a60 diff --git a/trunk/arch/powerpc/platforms/cell/setup.c b/trunk/arch/powerpc/platforms/cell/setup.c index 13f628def363..d704bc19a646 100644 --- a/trunk/arch/powerpc/platforms/cell/setup.c +++ b/trunk/arch/powerpc/platforms/cell/setup.c @@ -51,6 +51,7 @@ #include #include #include +#include #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;