summaryrefslogtreecommitdiffstats
path: root/drivers/rpmsg
diff options
context:
space:
mode:
authorBjorn Andersson <bjorn.andersson@linaro.org>2017-08-31 09:27:35 -0700
committerBjorn Andersson <bjorn.andersson@linaro.org>2017-08-31 17:10:40 -0700
commitf8ff9777ec48c4c3078e96b33d88109783078a81 (patch)
treedb3b0a20423a8ed6bcd7ff6ebb863f498c6c0930 /drivers/rpmsg
parent5f5423ffa223a0beb755563beac67f741662870b (diff)
downloadlinux-stable-f8ff9777ec48c4c3078e96b33d88109783078a81.tar.gz
linux-stable-f8ff9777ec48c4c3078e96b33d88109783078a81.tar.bz2
linux-stable-f8ff9777ec48c4c3078e96b33d88109783078a81.zip
rpmsg: glink: Export symbols from common code
The common code needs to export the probe and remove symbols in order for the SMEM and RPM drivers to access them when compiled as a module. Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'drivers/rpmsg')
-rw-r--r--drivers/rpmsg/qcom_glink_native.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/rpmsg/qcom_glink_native.c b/drivers/rpmsg/qcom_glink_native.c
index 0982dee50291..666068202597 100644
--- a/drivers/rpmsg/qcom_glink_native.c
+++ b/drivers/rpmsg/qcom_glink_native.c
@@ -1572,6 +1572,7 @@ struct qcom_glink *qcom_glink_native_probe(struct device *dev,
return glink;
}
+EXPORT_SYMBOL_GPL(qcom_glink_native_probe);
static int qcom_glink_remove_device(struct device *dev, void *data)
{
@@ -1604,8 +1605,10 @@ void qcom_glink_native_remove(struct qcom_glink *glink)
spin_unlock_irqrestore(&glink->idr_lock, flags);
mbox_free_channel(glink->mbox_chan);
}
+EXPORT_SYMBOL_GPL(qcom_glink_native_remove);
void qcom_glink_native_unregister(struct qcom_glink *glink)
{
device_unregister(glink->dev);
}
+EXPORT_SYMBOL_GPL(qcom_glink_native_unregister);