aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/host1x/job.h
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2018-05-16 17:01:43 +0200
committerThierry Reding <treding@nvidia.com>2018-05-18 21:51:37 +0200
commit326bbd79fd61716841585a52d5b68f48f4e6644e (patch)
treedd7f8ca49fb5975f92d6161a8dd8fc5bffbdb1d7 /drivers/gpu/host1x/job.h
parentgpu: host1x: Rename relocarray -> relocs for consistency (diff)
downloadlinux-dev-326bbd79fd61716841585a52d5b68f48f4e6644e.tar.xz
linux-dev-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 'drivers/gpu/host1x/job.h')
-rw-r--r--drivers/gpu/host1x/job.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/host1x/job.h b/drivers/gpu/host1x/job.h
index 4bda51d503ec..188400e00192 100644
--- a/drivers/gpu/host1x/job.h
+++ b/drivers/gpu/host1x/job.h
@@ -20,10 +20,10 @@
#define __HOST1X_JOB_H
struct host1x_job_gather {
- u32 words;
+ unsigned int words;
dma_addr_t base;
struct host1x_bo *bo;
- u32 offset;
+ unsigned int offset;
bool handled;
};