of/platform: export of_default_bus_match_table
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 5 Jan 2016 02:17:53 +0000 (11:17 +0900)
committerRob Herring <robh@kernel.org>
Tue, 5 Jan 2016 15:20:44 +0000 (09:20 -0600)
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>
drivers/of/platform.c

index af98343..8d103e4 100644 (file)
@@ -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)
 {