linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] powerpc: 85xx: add proper OF bus ids for the TQM85xx
@ 2008-07-25  7:44 Wolfgang Grandegger
  2008-07-25 13:20 ` Grant Likely
  0 siblings, 1 reply; 7+ messages in thread
From: Wolfgang Grandegger @ 2008-07-25  7:44 UTC (permalink / raw)
  To: Linuxppc-dev

Since recent modifications to the MPC I2C code, the MPC I2C buses are 
not found any more. This patch fixes the problem by adding proper OF
bus ids.

Signed-off-by: Wolfgang Grandegger <wg@grandegger.com>
---
 arch/powerpc/platforms/85xx/tqm85xx.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Index: linux-2.6-galak/arch/powerpc/platforms/85xx/tqm85xx.c
===================================================================
--- linux-2.6-galak.orig/arch/powerpc/platforms/85xx/tqm85xx.c
+++ linux-2.6-galak/arch/powerpc/platforms/85xx/tqm85xx.c
@@ -156,15 +156,15 @@ static void tqm85xx_show_cpuinfo(struct 
 }
 
 static struct of_device_id __initdata of_bus_ids[] = {
+	{ .type = "soc", },
+	{ .compatible = "soc", },
 	{ .compatible = "simple-bus", },
 	{},
 };
 
 static int __init declare_of_platform_devices(void)
 {
-	of_platform_bus_probe(NULL, of_bus_ids, NULL);
-
-	return 0;
+	return of_platform_bus_probe(NULL, of_bus_ids, NULL);
 }
 machine_device_initcall(tqm85xx, declare_of_platform_devices);
 

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-08-17 15:52 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-25  7:44 [PATCH] powerpc: 85xx: add proper OF bus ids for the TQM85xx Wolfgang Grandegger
2008-07-25 13:20 ` Grant Likely
2008-07-25 15:16   ` Wolfgang Grandegger
2008-07-25 15:30     ` Jon Loeliger
2008-07-25 15:37       ` Wolfgang Grandegger
2008-08-17  9:03         ` Wolfgang Grandegger
2008-08-17 15:52           ` Jon Loeliger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).