summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/host1x/channel.c
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2013-11-08 11:41:42 +0100
committerThierry Reding <treding@nvidia.com>2013-12-19 09:29:50 +0100
commitfae798a156f84d0d835b5d18480abbcad902fe0e (patch)
tree8529c9ee4c0876417d9e12de11fe109f841573bd /drivers/gpu/host1x/channel.c
parent4de6a2d6acb0e2a840f07db17def7e674b9d2bb4 (diff)
downloadop-kernel-dev-fae798a156f84d0d835b5d18480abbcad902fe0e.zip
op-kernel-dev-fae798a156f84d0d835b5d18480abbcad902fe0e.tar.gz
gpu: host1x: Export public API
Make the public API symbols visible so that depending drivers can be built as a module. Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/host1x/channel.c')
-rw-r--r--drivers/gpu/host1x/channel.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/host1x/channel.c b/drivers/gpu/host1x/channel.c
index 83ea51b..b4ae3af 100644
--- a/drivers/gpu/host1x/channel.c
+++ b/drivers/gpu/host1x/channel.c
@@ -43,6 +43,7 @@ int host1x_job_submit(struct host1x_job *job)
return host1x_hw_channel_submit(host, job);
}
+EXPORT_SYMBOL(host1x_job_submit);
struct host1x_channel *host1x_channel_get(struct host1x_channel *channel)
{
@@ -60,6 +61,7 @@ struct host1x_channel *host1x_channel_get(struct host1x_channel *channel)
return err ? NULL : channel;
}
+EXPORT_SYMBOL(host1x_channel_get);
void host1x_channel_put(struct host1x_channel *channel)
{
@@ -76,6 +78,7 @@ void host1x_channel_put(struct host1x_channel *channel)
mutex_unlock(&channel->reflock);
}
+EXPORT_SYMBOL(host1x_channel_put);
struct host1x_channel *host1x_channel_request(struct device *dev)
{
@@ -115,6 +118,7 @@ fail:
mutex_unlock(&host->chlist_mutex);
return NULL;
}
+EXPORT_SYMBOL(host1x_channel_request);
void host1x_channel_free(struct host1x_channel *channel)
{
@@ -124,3 +128,4 @@ void host1x_channel_free(struct host1x_channel *channel)
list_del(&channel->list);
kfree(channel);
}
+EXPORT_SYMBOL(host1x_channel_free);
OpenPOWER on IntegriCloud