Merge tag 'armsoc-arm64' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
[sfrench/cifs-2.6.git] / arch / arm / mach-bcm / board_bcm2835.c
index 834d67684e205a185971c13ebc6620434eeac788..0c1edfc98696da0e0bb7f4a18cdfbcdd27a9795d 100644 (file)
@@ -15,7 +15,6 @@
 #include <linux/init.h>
 #include <linux/irqchip.h>
 #include <linux/of_address.h>
-#include <linux/of_platform.h>
 #include <linux/clk/bcm2835.h>
 
 #include <asm/mach/arch.h>
 
 static void __init bcm2835_init(void)
 {
-       int ret;
-
        bcm2835_init_clocks();
-
-       ret = of_platform_populate(NULL, of_default_bus_match_table, NULL,
-                                  NULL);
-       if (ret) {
-               pr_err("of_platform_populate failed: %d\n", ret);
-               BUG();
-       }
 }
 
 static const char * const bcm2835_compat[] = {