diff options
author | Dmitry Pervushin <dmitry.pervushin@linaro.org> | 2013-03-29 17:50:02 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-03-29 19:35:28 (GMT) |
commit | c37b95eeefee32a765a9bbbfeaece48a361b2d23 (patch) | |
tree | 831996fabb9eac40572b69c2b3b290ae917aaf59 /drivers/staging/android/sync.c | |
parent | 6a48f88b528fef7c4b6ad609111a8acfb5d65335 (diff) | |
download | linux-fsl-qoriq-c37b95eeefee32a765a9bbbfeaece48a361b2d23.tar.xz |
staging: sync: Add compat_ioctl handlers to sync drivers
The sync drivers are missing compat_ioctl handlers, so this
patch adds them.
The same change has been submitted to AOSP:
https://android-review.googlesource.com/#/c/54901/
Change-Id: If1a1ecc3952b321c8d64c6a8b050104859efc4b1
Cc: Erik Gilling <konkers@android.com>
Cc: Dmitry Pervushin <dmitry.pervushin@linaro.org>
Cc: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
Cc: Android Kernel Team <kernel-team@android.com>
Signed-off-by: Dmitry Pervushin <dmitry.pervushin@linaro.org>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/android/sync.c')
-rw-r--r-- | drivers/staging/android/sync.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/android/sync.c b/drivers/staging/android/sync.c index bf66c19..3893a35 100644 --- a/drivers/staging/android/sync.c +++ b/drivers/staging/android/sync.c @@ -248,6 +248,7 @@ static const struct file_operations sync_fence_fops = { .release = sync_fence_release, .poll = sync_fence_poll, .unlocked_ioctl = sync_fence_ioctl, + .compat_ioctl = sync_fence_ioctl, }; static struct sync_fence *sync_fence_alloc(const char *name) |