summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/host1x/syncpt.h
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2016-06-23 11:19:00 +0200
committerThierry Reding <treding@nvidia.com>2016-06-23 11:59:24 +0200
commit5c0d8d386ba67ce07bfddcebf05233e8606771ff (patch)
tree1ff111f24857adecf28ec2c3bd80ea1d77e7c922 /drivers/gpu/host1x/syncpt.h
parent14c95fc896e1d3929abde448fd86c07bdbae56d5 (diff)
downloadlinux-stable-5c0d8d386ba67ce07bfddcebf05233e8606771ff.tar.gz
linux-stable-5c0d8d386ba67ce07bfddcebf05233e8606771ff.tar.bz2
linux-stable-5c0d8d386ba67ce07bfddcebf05233e8606771ff.zip
gpu: host1x: Use unsigned int consistently for IDs
IDs can never be negative so use unsigned int. In some instances an explicitly sized type (such as u32) was used for no particular reason, so turn those into unsigned int as well for consistency. Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/host1x/syncpt.h')
-rw-r--r--drivers/gpu/host1x/syncpt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/host1x/syncpt.h b/drivers/gpu/host1x/syncpt.h
index 6916feff0c29..f719205105ac 100644
--- a/drivers/gpu/host1x/syncpt.h
+++ b/drivers/gpu/host1x/syncpt.h
@@ -37,7 +37,7 @@ struct host1x_syncpt_base {
};
struct host1x_syncpt {
- int id;
+ unsigned int id;
atomic_t min_val;
atomic_t max_val;
u32 base_val;