diff options
Diffstat (limited to 'drivers/gpu/host1x/channel.c')
-rw-r--r-- | drivers/gpu/host1x/channel.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpu/host1x/channel.c b/drivers/gpu/host1x/channel.c index b4ae3affb987..8f437d924c10 100644 --- a/drivers/gpu/host1x/channel.c +++ b/drivers/gpu/host1x/channel.c | |||
@@ -83,9 +83,10 @@ EXPORT_SYMBOL(host1x_channel_put); | |||
83 | struct host1x_channel *host1x_channel_request(struct device *dev) | 83 | struct host1x_channel *host1x_channel_request(struct device *dev) |
84 | { | 84 | { |
85 | struct host1x *host = dev_get_drvdata(dev->parent); | 85 | struct host1x *host = dev_get_drvdata(dev->parent); |
86 | int max_channels = host->info->nb_channels; | 86 | unsigned int max_channels = host->info->nb_channels; |
87 | struct host1x_channel *channel = NULL; | 87 | struct host1x_channel *channel = NULL; |
88 | int index, err; | 88 | unsigned long index; |
89 | int err; | ||
89 | 90 | ||
90 | mutex_lock(&host->chlist_mutex); | 91 | mutex_lock(&host->chlist_mutex); |
91 | 92 | ||