diff options
Diffstat (limited to 'drivers/gpu/host1x/channel.c')
-rw-r--r-- | drivers/gpu/host1x/channel.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/host1x/channel.c b/drivers/gpu/host1x/channel.c index 83ea51b9f0fc..b4ae3affb987 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) | |||
43 | 43 | ||
44 | return host1x_hw_channel_submit(host, job); | 44 | return host1x_hw_channel_submit(host, job); |
45 | } | 45 | } |
46 | EXPORT_SYMBOL(host1x_job_submit); | ||
46 | 47 | ||
47 | struct host1x_channel *host1x_channel_get(struct host1x_channel *channel) | 48 | struct host1x_channel *host1x_channel_get(struct host1x_channel *channel) |
48 | { | 49 | { |
@@ -60,6 +61,7 @@ struct host1x_channel *host1x_channel_get(struct host1x_channel *channel) | |||
60 | 61 | ||
61 | return err ? NULL : channel; | 62 | return err ? NULL : channel; |
62 | } | 63 | } |
64 | EXPORT_SYMBOL(host1x_channel_get); | ||
63 | 65 | ||
64 | void host1x_channel_put(struct host1x_channel *channel) | 66 | void host1x_channel_put(struct host1x_channel *channel) |
65 | { | 67 | { |
@@ -76,6 +78,7 @@ void host1x_channel_put(struct host1x_channel *channel) | |||
76 | 78 | ||
77 | mutex_unlock(&channel->reflock); | 79 | mutex_unlock(&channel->reflock); |
78 | } | 80 | } |
81 | EXPORT_SYMBOL(host1x_channel_put); | ||
79 | 82 | ||
80 | struct host1x_channel *host1x_channel_request(struct device *dev) | 83 | struct host1x_channel *host1x_channel_request(struct device *dev) |
81 | { | 84 | { |
@@ -115,6 +118,7 @@ fail: | |||
115 | mutex_unlock(&host->chlist_mutex); | 118 | mutex_unlock(&host->chlist_mutex); |
116 | return NULL; | 119 | return NULL; |
117 | } | 120 | } |
121 | EXPORT_SYMBOL(host1x_channel_request); | ||
118 | 122 | ||
119 | void host1x_channel_free(struct host1x_channel *channel) | 123 | void host1x_channel_free(struct host1x_channel *channel) |
120 | { | 124 | { |
@@ -124,3 +128,4 @@ void host1x_channel_free(struct host1x_channel *channel) | |||
124 | list_del(&channel->list); | 128 | list_del(&channel->list); |
125 | kfree(channel); | 129 | kfree(channel); |
126 | } | 130 | } |
131 | EXPORT_SYMBOL(host1x_channel_free); | ||