video: tegra: host: enable nvhost compat_ioctls
Peng Du [Thu, 27 Jun 2013 23:08:43 +0000 (16:08 -0700)]
Change-Id: Ic1a771baa77cbcfa9d930a9be7fb9cd30bdc092e
Signed-off-by: Peng Du <pdu@nvidia.com>
Reviewed-on: http://git-master/r/243154
(cherry picked from commit ce7e63a4df04c06edcefa7c9ca660c485b18d03e)
Reviewed-on: http://git-master/r/276131
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

drivers/video/tegra/host/bus_client.c

index d3a12a7..d741c12 100644 (file)
@@ -976,6 +976,9 @@ static const struct file_operations nvhost_channelops = {
        .owner = THIS_MODULE,
        .release = nvhost_channelrelease,
        .open = nvhost_channelopen,
+#ifdef CONFIG_COMPAT
+       .compat_ioctl = nvhost_channelctl,
+#endif
        .unlocked_ioctl = nvhost_channelctl
 };
 
@@ -1001,6 +1004,9 @@ static const struct file_operations nvhost_asops = {
        .owner = THIS_MODULE,
        .release = nvhost_as_dev_release,
        .open = nvhost_as_dev_open,
+#ifdef CONFIG_COMPAT
+       .compat_ioctl = nvhost_as_dev_ctl,
+#endif
        .unlocked_ioctl = nvhost_as_dev_ctl,
 };