summaryrefslogtreecommitdiff
path: root/drivers/of
diff options
context:
space:
mode:
authorStephen Boyd <stephen.boyd@linaro.org>2016-12-28 14:56:48 -0800
committerSasha Levin <alexander.levin@verizon.com>2017-09-10 16:35:45 -0400
commit70a07ab0e00f9484302a92f3c78ee15db9a44c81 (patch)
tree206dbc430d85d1801eb79fde7fe96db2ef0a7df1 /drivers/of
parent7c3aed903b49495e1a5459ff0e590c9b53ce0210 (diff)
of: device: Export of_device_{get_modalias, uvent_modalias} to modules
[ Upstream commit 7a3b7cd332db08546f3cdd984f11773e0d1999e7 ] The ULPI bus can be built as a module, and it will soon be calling these functions when it supports probing devices from DT. Export them so they can be used by the ULPI module. Acked-by: Rob Herring <robh@kernel.org> Cc: <devicetree@vger.kernel.org> Signed-off-by: Stephen Boyd <stephen.boyd@linaro.org> Signed-off-by: Peter Chen <peter.chen@nxp.com> Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Diffstat (limited to 'drivers/of')
-rw-r--r--drivers/of/device.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/of/device.c b/drivers/of/device.c
index 20c1332a0018..493b21bd1199 100644
--- a/drivers/of/device.c
+++ b/drivers/of/device.c
@@ -212,6 +212,7 @@ ssize_t of_device_get_modalias(struct device *dev, char *str, ssize_t len)
return tsize;
}
+EXPORT_SYMBOL_GPL(of_device_get_modalias);
/**
* of_device_uevent - Display OF related uevent information
@@ -274,3 +275,4 @@ int of_device_uevent_modalias(struct device *dev, struct kobj_uevent_env *env)
return 0;
}
+EXPORT_SYMBOL_GPL(of_device_uevent_modalias);