[PATCH v1 1/2] of: base: Export of_device_compatible_match()

From: Dmitry Osipenko
Date: Mon May 17 2021 - 20:15:07 EST


The of_device_compatible_match() will be used by the updated NVIDIA Tegra
ASoC WM8903 driver which could be build as a loadable module, export the
OF function.

Signed-off-by: Dmitry Osipenko <digetx@xxxxxxxxx>
---
drivers/of/base.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/of/base.c b/drivers/of/base.c
index 48e941f99558..eeca92467531 100644
--- a/drivers/of/base.c
+++ b/drivers/of/base.c
@@ -556,6 +556,7 @@ int of_device_compatible_match(struct device_node *device,

return score;
}
+EXPORT_SYMBOL(of_device_compatible_match);

/**
* of_machine_is_compatible - Test root of device tree for a given compatible value
--
2.30.2