From 40e05e6acdc07f1a513f206c1a8c5fce16ae5a81 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Tue, 27 Aug 2019 21:40:17 +0200 Subject: [PATCH] Revert "of/platform: Don't create device links for default busses" This reverts commit b3173c2292fbaf24ff7062d366830b012ed04269. Based on a lot of email and in-person discussions, this patch series is being reworked to address a number of issues that were pointed out that needed to be taken care of before it should be merged. It will be resubmitted with those changes hopefully soon. Cc: Frank Rowand Cc: Saravana Kannan Signed-off-by: Greg Kroah-Hartman --- drivers/of/platform.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/of/platform.c b/drivers/of/platform.c index 21838226d68a..52590fb20422 100644 --- a/drivers/of/platform.c +++ b/drivers/of/platform.c @@ -677,8 +677,6 @@ static int of_link_to_suppliers(struct device *dev) return 0; if (unlikely(!dev->of_node)) return 0; - if (of_match_node(of_default_bus_match_table, dev->of_node)) - return 0; return __of_link_to_suppliers(dev, dev->of_node); } -- 2.45.2