Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 81309
b: refs/heads/master
c: 15061d6
h: refs/heads/master
i:
  81307: 242440f
v: v3
  • Loading branch information
Wade Farnsworth authored and Kumar Gala committed Jan 24, 2008
1 parent 737b7a1 commit cfeba6b
Show file tree
Hide file tree
Showing 2 changed files with 15 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: 0ac247d5690570b825088a5752817eff42488897
refs/heads/master: 15061d60a3be0845dc17a0fbe87610d1cc7106c7
14 changes: 14 additions & 0 deletions trunk/arch/powerpc/platforms/86xx/mpc86xx_hpcn.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#include <linux/kdev_t.h>
#include <linux/delay.h>
#include <linux/seq_file.h>
#include <linux/of_platform.h>

#include <asm/system.h>
#include <asm/time.h>
Expand Down Expand Up @@ -212,6 +213,19 @@ mpc86xx_time_init(void)
return 0;
}

static __initdata struct of_device_id of_bus_ids[] = {
{ .compatible = "simple-bus", },
{},
};

static int __init declare_of_platform_devices(void)
{
of_platform_bus_probe(NULL, of_bus_ids, NULL);

return 0;
}
machine_device_initcall(mpc86xx_hpcn, declare_of_platform_devices);

define_machine(mpc86xx_hpcn) {
.name = "MPC86xx HPCN",
.probe = mpc86xx_hpcn_probe,
Expand Down

0 comments on commit cfeba6b

Please sign in to comment.