diff options
author | Peng Du <pdu@nvidia.com> | 2013-03-18 23:43:26 -0700 |
---|---|---|
committer | Tom Cherry <tcherry@nvidia.com> | 2014-01-21 15:13:49 -0800 |
commit | 99d5f10a99c35efbdad325c208f59240a6d2226a (patch) | |
tree | 66567e96d01180dd16633ef3689fdbb78fead6ac /drivers/video/tegra/dc/ext | |
parent | fcab0c802efaacaefa22ec2dc8c9635e33bc86dd (diff) |
video: tegra: dc: hookup compat_ioctl
Change-Id: I70af47cd830cb8fafc1131145e2775a2ca713f3b
Signed-off-by: Peng Du <pdu@nvidia.com>
Reviewed-on: http://git-master/r/214728
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Chao Xu <cxu@nvidia.com>
Diffstat (limited to 'drivers/video/tegra/dc/ext')
-rw-r--r-- | drivers/video/tegra/dc/ext/control.c | 3 | ||||
-rw-r--r-- | drivers/video/tegra/dc/ext/dev.c | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/drivers/video/tegra/dc/ext/control.c b/drivers/video/tegra/dc/ext/control.c index d1e07294b5f4..e44722ad5746 100644 --- a/drivers/video/tegra/dc/ext/control.c +++ b/drivers/video/tegra/dc/ext/control.c @@ -267,6 +267,9 @@ static const struct file_operations tegra_dc_ext_event_devops = { .read = tegra_dc_ext_event_read, .poll = tegra_dc_ext_event_poll, .unlocked_ioctl = tegra_dc_ext_control_ioctl, +#ifdef CONFIG_COMPAT + .compat_ioctl = tegra_dc_ext_control_ioctl +#endif }; int tegra_dc_ext_control_init(void) diff --git a/drivers/video/tegra/dc/ext/dev.c b/drivers/video/tegra/dc/ext/dev.c index b43959d0ae01..a8a9e2a8121b 100644 --- a/drivers/video/tegra/dc/ext/dev.c +++ b/drivers/video/tegra/dc/ext/dev.c @@ -1461,6 +1461,9 @@ static const struct file_operations tegra_dc_devops = { .open = tegra_dc_open, .release = tegra_dc_release, .unlocked_ioctl = tegra_dc_ioctl, +#ifdef CONFIG_COMPAT + .compat_ioctl = tegra_dc_ioctl, +#endif }; struct tegra_dc_ext *tegra_dc_ext_register(struct platform_device *ndev, |