diff options
author | Thierry Reding <treding@nvidia.com> | 2016-06-22 10:47:30 -0400 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2016-06-23 05:59:26 -0400 |
commit | e18e33afa4011b0670e5040eda1b8a2d0b995e4e (patch) | |
tree | 07837bfd98c7455f2d300e5d0593d095a676813f | |
parent | 5c0d8d386ba67ce07bfddcebf05233e8606771ff (diff) |
gpu: host1x: channel: Use correct type
find_first_zero_bit() returns an unsigned long, so make the local
variable that stores the result the same type for consistency.
Signed-off-by: Thierry Reding <treding@nvidia.com>
-rw-r--r-- | drivers/gpu/host1x/channel.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/host1x/channel.c b/drivers/gpu/host1x/channel.c index 78f0ef0f6c89..8f437d924c10 100644 --- a/drivers/gpu/host1x/channel.c +++ b/drivers/gpu/host1x/channel.c | |||
@@ -85,7 +85,8 @@ struct host1x_channel *host1x_channel_request(struct device *dev) | |||
85 | struct host1x *host = dev_get_drvdata(dev->parent); | 85 | struct host1x *host = dev_get_drvdata(dev->parent); |
86 | unsigned 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 | ||