diff options
author | Thierry Reding <treding@nvidia.com> | 2018-05-16 17:01:43 +0200 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2018-05-18 21:51:37 +0200 |
commit | 326bbd79fd61716841585a52d5b68f48f4e6644e (patch) | |
tree | dd7f8ca49fb5975f92d6161a8dd8fc5bffbdb1d7 /include/linux/host1x.h | |
parent | 06490bb99e1840ab2b6814af7356e8b4ab0e3ee6 (diff) | |
download | linux-stable-326bbd79fd61716841585a52d5b68f48f4e6644e.tar.gz linux-stable-326bbd79fd61716841585a52d5b68f48f4e6644e.tar.bz2 linux-stable-326bbd79fd61716841585a52d5b68f48f4e6644e.zip |
gpu: host1x: Use not explicitly sized types
The number of words and the offset in a gather don't need to be
explicitly sized, so make them unsigned int instead.
Reviewed-by: Dmitry Osipenko <digetx@gmail.com>
Tested-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'include/linux/host1x.h')
-rw-r--r-- | include/linux/host1x.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/host1x.h b/include/linux/host1x.h index dcb6140d39d7..89110d896d72 100644 --- a/include/linux/host1x.h +++ b/include/linux/host1x.h @@ -251,8 +251,8 @@ struct host1x_job { struct host1x_job *host1x_job_alloc(struct host1x_channel *ch, u32 num_cmdbufs, u32 num_relocs); -void host1x_job_add_gather(struct host1x_job *job, struct host1x_bo *mem_id, - u32 words, u32 offset); +void host1x_job_add_gather(struct host1x_job *job, struct host1x_bo *bo, + unsigned int words, unsigned int offset); struct host1x_job *host1x_job_get(struct host1x_job *job); void host1x_job_put(struct host1x_job *job); int host1x_job_pin(struct host1x_job *job, struct device *dev); |