Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 234927
b: refs/heads/master
c: 9079b35
h: refs/heads/master
i:
  234925: 96f605b
  234923: a9c2989
  234919: 9d0d4d3
  234911: 72ea904
v: v3
  • Loading branch information
Sebastian Andrzej Siewior authored and Thomas Gleixner committed Feb 23, 2011
1 parent 169a4c2 commit 368e247
Show file tree
Hide file tree
Showing 2 changed files with 20 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: 96e0a0797eba35b5420c710b928f19094b2d5c45
refs/heads/master: 9079b35364e75ce6b968a179f861d2f819f33e61
19 changes: 19 additions & 0 deletions trunk/arch/x86/kernel/devicetree.c
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,25 @@ void __init add_dtb(u64 data)
initial_dtb = data + offsetof(struct setup_data, data);
}

/*
* CE4100 ids. Will be moved to machine_device_initcall() once we have it.
*/
static struct of_device_id __initdata ce4100_ids[] = {
{ .compatible = "intel,ce4100-cp", },
{ .compatible = "isa", },
{ .compatible = "pci", },
{},
};

static int __init add_bus_probe(void)
{
if (!initial_boot_params)
return 0;

return of_platform_bus_probe(NULL, ce4100_ids, NULL);
}
module_init(add_bus_probe);

#ifdef CONFIG_PCI
static int x86_of_pci_irq_enable(struct pci_dev *dev)
{
Expand Down

0 comments on commit 368e247

Please sign in to comment.