Commit caec05b6 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

Revert "of/platform: Disable generic device linking code for PowerPC"

This reverts commit 9c1c5e0b.

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: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 2a77eec0
...@@ -506,7 +506,6 @@ int of_platform_default_populate(struct device_node *root, ...@@ -506,7 +506,6 @@ int of_platform_default_populate(struct device_node *root,
} }
EXPORT_SYMBOL_GPL(of_platform_default_populate); EXPORT_SYMBOL_GPL(of_platform_default_populate);
#ifndef CONFIG_PPC
static bool of_link_is_valid(struct device_node *con, struct device_node *sup) static bool of_link_is_valid(struct device_node *con, struct device_node *sup)
{ {
of_node_get(sup); of_node_get(sup);
...@@ -684,6 +683,7 @@ static int of_link_to_suppliers(struct device *dev) ...@@ -684,6 +683,7 @@ static int of_link_to_suppliers(struct device *dev)
return __of_link_to_suppliers(dev, dev->of_node); return __of_link_to_suppliers(dev, dev->of_node);
} }
#ifndef CONFIG_PPC
static const struct of_device_id reserved_mem_matches[] = { static const struct of_device_id reserved_mem_matches[] = {
{ .compatible = "qcom,rmtfs-mem" }, { .compatible = "qcom,rmtfs-mem" },
{ .compatible = "qcom,cmd-db" }, { .compatible = "qcom,cmd-db" },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment