Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 101588
b: refs/heads/master
c: 683307d
h: refs/heads/master
v: v3
  • Loading branch information
Remi Machet authored and Paul Mackerras committed May 14, 2008
1 parent 2501e86 commit 1a5432c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 663276b7c6340e755ed62bed67a2b96f4fc3d513
refs/heads/master: 683307da07afd3a7ee55269ee8cb70c8053b0923
10 changes: 10 additions & 0 deletions trunk/arch/powerpc/sysdev/mv64x60_dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#include <linux/console.h>
#include <linux/mv643xx.h>
#include <linux/platform_device.h>
#include <linux/of_platform.h>

#include <asm/prom.h>

Expand All @@ -25,6 +26,11 @@
* PowerPC of_platform_bus_type. They support platform_bus_type instead.
*/

static struct of_device_id __initdata of_mv64x60_devices[] = {
{ .compatible = "marvell,mv64306-devctrl", },
{}
};

/*
* Create MPSC platform devices
*/
Expand Down Expand Up @@ -484,6 +490,10 @@ static int __init mv64x60_device_setup(void)
of_node_put(np);
}

/* Now add every node that is on the device bus */
for_each_compatible_node(np, NULL, "marvell,mv64360")
of_platform_bus_probe(np, of_mv64x60_devices, NULL);

return 0;
}
arch_initcall(mv64x60_device_setup);
Expand Down

0 comments on commit 1a5432c

Please sign in to comment.