]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - arch/xtensa/kernel/setup.c
Merge tag 'xtensa-20161005' of git://github.com/jcmvbkbc/linux-xtensa
[mirror_ubuntu-bionic-kernel.git] / arch / xtensa / kernel / setup.c
index d61c8468abea40b5783fde6fe4b5b6e577b17ddf..88a044af7504dd9c47d0f97d64620ac8de4b5739 100644 (file)
@@ -26,7 +26,6 @@
 #include <linux/cpu.h>
 #include <linux/of.h>
 #include <linux/of_fdt.h>
-#include <linux/of_platform.h>
 
 #if defined(CONFIG_VGA_CONSOLE) || defined(CONFIG_DUMMY_CONSOLE)
 # include <linux/console.h>
@@ -246,14 +245,6 @@ void __init early_init_devtree(void *params)
                strlcpy(command_line, boot_command_line, COMMAND_LINE_SIZE);
 }
 
-static int __init xtensa_device_probe(void)
-{
-       of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
-       return 0;
-}
-
-device_initcall(xtensa_device_probe);
-
 #endif /* CONFIG_OF */
 
 /*