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 <saravanak@google.com>
Change-Id: I57c44e74e35d829ae2ae3145dc241ccf348f2eea
This commit is contained in:
Saravana Kannan
2019-10-24 14:46:06 -07:00
parent 5e64fb8986
commit ba3aa33b8f

View File

@ -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,