lkml.org 
[lkml]   [2017]   [Feb]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] of: add EXPORT_SYMBOL for of_device_compatible_match
Date
This symbol will be needed for the dwmac-sun8i ethernet driver.
For letting it to be build as module, of_device_compatible_match need to
be exported.

Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>
---
drivers/of/base.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/of/base.c b/drivers/of/base.c
index df6f6e3..fba351b 100644
--- a/drivers/of/base.c
+++ b/drivers/of/base.c
@@ -524,6 +524,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.10.2
\
 
 \ /
  Last update: 2017-02-15 15:25    [W:0.047 / U:0.360 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site