diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-08-27 22:40:08 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-08-27 22:40:08 +0300 |
commit | f6680a66a3ca3ed41a5870ead7591a27827d5632 (patch) | |
tree | 5aa645707fa4c462c4af31222ce3b331e220f730 | |
parent | 8ef4df5ae1091af6c8aa65938a80f9ad9fa4460f (diff) | |
download | linux-f6680a66a3ca3ed41a5870ead7591a27827d5632.tar.xz |
Revert "of/platform: Fix fn definitons for of_link_is_valid() and of_link_property()"
This reverts commit 0ad0bdd8ba6489d05044aa5ca6c6f7491be7743c.
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 <frowand.list@gmail.com>
Cc: Saravana Kannan <saravanak@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/of/platform.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/of/platform.c b/drivers/of/platform.c index f68de5c4aeff..21838226d68a 100644 --- a/drivers/of/platform.c +++ b/drivers/of/platform.c @@ -506,7 +506,7 @@ int of_platform_default_populate(struct device_node *root, } EXPORT_SYMBOL_GPL(of_platform_default_populate); -static bool of_link_is_valid(struct device_node *con, struct device_node *sup) +bool of_link_is_valid(struct device_node *con, struct device_node *sup) { of_node_get(sup); /* @@ -625,7 +625,7 @@ static const struct supplier_bindings bindings[] = { { }, }; -static int of_link_property(struct device *dev, struct device_node *con_np, +static bool of_link_property(struct device *dev, struct device_node *con_np, const char *prop) { struct device_node *phandle; |