From f4d0973e4fb044bf83609db079a8bd02bfaaa668 Mon Sep 17 00:00:00 2001 From: Saravana Kannan Date: Thu, 24 Oct 2019 14:46:06 -0700 Subject: [PATCH] ANDROID: of: property: Enable of_devlink by default The of_devlink feature creates device links between devices based on the common device tree bindings listed in their device node. This allows improved probe ordering and also makes sure the sync_state() calls to the device drivers come only after all the consumers of a device have probed successfully. Enable this by default on Android since this is required to ease modularization efforts for GKI. Bug: 143308885 Signed-off-by: Saravana Kannan Change-Id: I57c44e74e35d829ae2ae3145dc241ccf348f2eea --- drivers/of/property.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/of/property.c b/drivers/of/property.c index dfdc1604f4ad..0fc89e31e087 100644 --- a/drivers/of/property.c +++ b/drivers/of/property.c @@ -1229,7 +1229,7 @@ static int of_link_to_suppliers(struct device *dev, return ret; } -static bool of_devlink; +static bool of_devlink = true; core_param(of_devlink, of_devlink, bool, 0); static int of_fwnode_add_links(const struct fwnode_handle *fwnode,