*/
#include <linux/init.h>
+#include <linux/of_platform.h>
+
#include <asm/machdep.h>
#include <asm/prom.h>
#include <asm/udbg.h>
#include <asm/time.h>
#include <asm/uic.h>
-#include <asm/of_platform.h>
+#include <asm/pci-bridge.h>
static struct of_device_id walnut_of_bus[] = {
{ .compatible = "ibm,plb3", },
if (!of_flat_dt_is_compatible(root, "ibm,walnut"))
return 0;
- return 1;
-}
+ ppc_pci_flags = PPC_PCI_REASSIGN_ALL_RSRC;
-static void __init walnut_setup_arch(void)
-{
+ return 1;
}
define_machine(walnut) {
.name = "Walnut",
.probe = walnut_probe,
- .setup_arch = walnut_setup_arch,
.progress = udbg_progress,
.init_IRQ = uic_init_tree,
.get_irq = uic_get_irq,