|
@@ -85,7 +85,8 @@ struct host1x_channel *host1x_channel_request(struct device *dev)
|
|
struct host1x *host = dev_get_drvdata(dev->parent);
|
|
struct host1x *host = dev_get_drvdata(dev->parent);
|
|
unsigned int max_channels = host->info->nb_channels;
|
|
unsigned int max_channels = host->info->nb_channels;
|
|
struct host1x_channel *channel = NULL;
|
|
struct host1x_channel *channel = NULL;
|
|
- int index, err;
|
|
|
|
|
|
+ unsigned long index;
|
|
|
|
+ int err;
|
|
|
|
|
|
mutex_lock(&host->chlist_mutex);
|
|
mutex_lock(&host->chlist_mutex);
|
|
|
|
|