|
@@ -14,7 +14,6 @@
|
|
|
#include <linux/init.h>
|
|
|
#include <linux/irqchip.h>
|
|
|
#include <linux/of_fdt.h>
|
|
|
-#include <linux/of_platform.h>
|
|
|
|
|
|
#include <asm/bootinfo.h>
|
|
|
#include <asm/fw/fw.h>
|
|
@@ -208,18 +207,6 @@ void __init arch_init_irq(void)
|
|
|
irqchip_init();
|
|
|
}
|
|
|
|
|
|
-static int __init publish_devices(void)
|
|
|
-{
|
|
|
- if (!of_have_populated_dt())
|
|
|
- panic("Device-tree not present");
|
|
|
-
|
|
|
- if (of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL))
|
|
|
- panic("Failed to populate DT");
|
|
|
-
|
|
|
- return 0;
|
|
|
-}
|
|
|
-arch_initcall(publish_devices);
|
|
|
-
|
|
|
void __init prom_free_prom_memory(void)
|
|
|
{
|
|
|
}
|