[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170215142245.11207-1-clabbe.montjoie@gmail.com>
Date: Wed, 15 Feb 2017 15:22:45 +0100
From: Corentin Labbe <clabbe.montjoie@...il.com>
To: robh+dt@...nel.org, frowand.list@...il.com
Cc: devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
Corentin Labbe <clabbe.montjoie@...il.com>
Subject: [PATCH] of: add EXPORT_SYMBOL for of_device_compatible_match
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@...il.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
Powered by blists - more mailing lists