]> Pileus Git - ~andy/linux/blobdiff - drivers/gpu/host1x/channel.c
gpu: host1x: Export public API
[~andy/linux] / drivers / gpu / host1x / channel.c
index 83ea51b9f0fce44ea6a5ff96f78c8db49f6b8839..b4ae3affb987bb92ed7dcd1f3317714b260fd61d 100644 (file)
@@ -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);