summaryrefslogtreecommitdiff
path: root/drivers/video/tegra/host/nvhost_channel.h
diff options
context:
space:
mode:
authorJon Mayo <jmayo@nvidia.com>2013-11-08 12:33:33 -0800
committerTerje Bergstrom <tbergstrom@nvidia.com>2013-11-11 00:17:47 -0800
commitc916dd9b5e95afd9c4c4903d9601afa9586bda79 (patch)
treedf22ac43492538eb03914929ad38aa724b4a9dad /drivers/video/tegra/host/nvhost_channel.h
parent75af15c7758274c7bea63db2daa7354ce0352a85 (diff)
video: tegra: host: fix compile warnings
The definition for function pointer nvhost_channel_ops.set_priority() changed to match the usage by other function definitions. Change-Id: I4e45fd7871c2c54bebffdfd7200e595d45152a56 Signed-off-by: Jon Mayo <jmayo@nvidia.com> Reviewed-on: http://git-master/r/328430 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/video/tegra/host/nvhost_channel.h')
-rw-r--r--drivers/video/tegra/host/nvhost_channel.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/video/tegra/host/nvhost_channel.h b/drivers/video/tegra/host/nvhost_channel.h
index 07d645586970..c592ab607fb6 100644
--- a/drivers/video/tegra/host/nvhost_channel.h
+++ b/drivers/video/tegra/host/nvhost_channel.h
@@ -43,6 +43,7 @@ struct nvhost_wait_args;
struct nvhost_cycle_stats_args;
struct nvhost_zcull_bind_args;
struct nvhost_set_error_notifier;
+struct nvhost_set_priority_args;
struct nvhost_zcull_ops {
int (*bind)(struct nvhost_hwctx *,
@@ -71,8 +72,8 @@ struct nvhost_channel_ops {
u32 flags);
int (*set_error_notifier)(struct nvhost_hwctx *hwctx,
struct nvhost_set_error_notifier *args);
- int (*set_priority)(struct nvhost_hwctx *,
- u32 priority);
+ int (*set_priority)(struct nvhost_hwctx *hwctx,
+ struct nvhost_set_priority_args *args);
int (*wait)(struct nvhost_hwctx *,
struct nvhost_wait_args *args);
#if defined(CONFIG_TEGRA_GPU_CYCLE_STATS)