瀏覽代碼

microblaze: remove unecessary of_platform_bus_probe call

The call to of_platform_bus_probe has no effect because the DT core
already probes default buses like "simple-bus" before this call.
Michal Simek said 'xlnx,compound' hasn't been used in a long time, so
that match entry isn't needed.

Cc: Michal Simek <monstr@monstr.eu>
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Rob Herring 7 年之前
父節點
當前提交
2dbeb7040a
共有 1 個文件被更改,包括 0 次插入7 次删除
  1. 0 7
      arch/microblaze/kernel/platform.c

+ 0 - 7
arch/microblaze/kernel/platform.c

@@ -14,15 +14,8 @@
 #include <linux/of_platform.h>
 #include <linux/of_platform.h>
 #include <asm/setup.h>
 #include <asm/setup.h>
 
 
-static struct of_device_id xilinx_of_bus_ids[] __initdata = {
-	{ .compatible = "simple-bus", },
-	{ .compatible = "xlnx,compound", },
-	{}
-};
-
 static int __init microblaze_device_probe(void)
 static int __init microblaze_device_probe(void)
 {
 {
-	of_platform_bus_probe(NULL, xilinx_of_bus_ids, NULL);
 	of_platform_reset_gpio_probe();
 	of_platform_reset_gpio_probe();
 	return 0;
 	return 0;
 }
 }