[PATCH] of: Add EXPORT_SYMBOL for of_device_compatible_match
From: Neil Armstrong
Date: Mon Jan 16 2017 - 08:12:04 EST
Add missing EXPORT_SYMBOL for of_device_compatible_match function.
Fixes: b9c13fe32faa ("dt: Add of_device_compatible_match()")
Signed-off-by: Neil Armstrong <narmstrong@xxxxxxxxxxxx>
---
drivers/of/base.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/of/base.c b/drivers/of/base.c
index d4bea3c..dfbcf17 100644
--- a/drivers/of/base.c
+++ b/drivers/of/base.c
@@ -523,6 +523,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
--
1.9.1