video: tegra: host: Fix zcull ioctl args
Terje Bergstrom [Tue, 28 May 2013 05:11:21 +0000 (08:11 +0300)]
Zcull argument structs were reversed between old and new structs.
Fix this inconsistency.

Change-Id: Ie2eaa4ed0de95f6faccfd39dc1b95c141e722334
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/233649
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-by: Ken Adams <kadams@nvidia.com>

include/linux/nvhost_ioctl.h

index e1dab2c..13b8ec1 100644 (file)
@@ -362,7 +362,7 @@ struct nvhost_set_ctxswitch_args {
 #define NVHOST_IOCTL_CHANNEL_WAIT              \
        _IOWR(NVHOST_IOCTL_MAGIC, 102, struct nvhost_wait_args)
 #define NVHOST_IOCTL_CHANNEL_ZCULL_BIND_OLD    \
-       _IOWR(NVHOST_IOCTL_MAGIC, 103, struct nvhost_zcull_bind_args)
+       _IOWR(NVHOST_IOCTL_MAGIC, 103, struct nvhost_zcull_bind_old_args)
 #define NVHOST_IOCTL_CHANNEL_ALLOC_OBJ_CTX_OLD \
        _IOWR(NVHOST_IOCTL_MAGIC, 104, struct nvhost_alloc_obj_ctx_old_args)
 #define NVHOST_IOCTL_CHANNEL_FREE_OBJ_CTX_OLD  \
@@ -376,7 +376,7 @@ struct nvhost_set_ctxswitch_args {
 #define NVHOST_IOCTL_CHANNEL_FREE_OBJ_CTX      \
        _IOR(NVHOST_IOCTL_MAGIC,  109, struct nvhost_free_obj_ctx_args)
 #define NVHOST_IOCTL_CHANNEL_ZCULL_BIND                \
-       _IOWR(NVHOST_IOCTL_MAGIC, 110, struct nvhost_zcull_bind_old_args)
+       _IOWR(NVHOST_IOCTL_MAGIC, 110, struct nvhost_zcull_bind_args)
 
 #define NVHOST_IOCTL_CHANNEL_LAST              \
        _IOC_NR(NVHOST_IOCTL_CHANNEL_ZCULL_BIND)