summaryrefslogtreecommitdiffstats
path: root/drivers/of/platform.c
diff options
context:
space:
mode:
authorMasahiro Yamada2016-01-05 03:17:53 +0100
committerRob Herring2016-01-05 16:20:44 +0100
commitb80443c2211c7daaabd20fbbe9e7beb3fa3408e0 (patch)
treead05f435f140fcf1fcff8f9fbaee072cdef5a08b /drivers/of/platform.c
parentof/unittest: Show broken behaviour in the platform bus (diff)
downloadkernel-qcow2-linux-b80443c2211c7daaabd20fbbe9e7beb3fa3408e0.tar.gz
kernel-qcow2-linux-b80443c2211c7daaabd20fbbe9e7beb3fa3408e0.tar.xz
kernel-qcow2-linux-b80443c2211c7daaabd20fbbe9e7beb3fa3408e0.zip
of/platform: export of_default_bus_match_table
Currently, drivers/bus/uniphier-system-bus.c is kept from being a module due to the unresolved reference to of_default_bus_match_table. Refer to commit 326ea45aa827 ("bus: uniphier: allow only built-in driver"). Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'drivers/of/platform.c')
-rw-r--r--drivers/of/platform.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/of/platform.c b/drivers/of/platform.c
index af98343614d8..8d103e4968be 100644
--- a/drivers/of/platform.c
+++ b/drivers/of/platform.c
@@ -31,6 +31,7 @@ const struct of_device_id of_default_bus_match_table[] = {
#endif /* CONFIG_ARM_AMBA */
{} /* Empty terminated list */
};
+EXPORT_SYMBOL(of_default_bus_match_table);
static int of_dev_node_match(struct device *dev, void *data)
{