From: Dmitry Pervushin Date: Fri, 29 Mar 2013 17:50:02 +0000 (-0700) Subject: staging: sync: Add compat_ioctl handlers to sync drivers X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=c37b95eeefee32a765a9bbbfeaece48a361b2d23;p=openwrt%2Fstaging%2Fblogic.git 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 Cc: Dmitry Pervushin Cc: Bernhard Rosenkränzer Cc: Android Kernel Team Signed-off-by: Dmitry Pervushin Signed-off-by: John Stultz Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/android/sw_sync.c b/drivers/staging/android/sw_sync.c index ec7de30ac33e..4928f93bdf3d 100644 --- a/drivers/staging/android/sw_sync.c +++ b/drivers/staging/android/sw_sync.c @@ -239,6 +239,7 @@ static const struct file_operations sw_sync_fops = { .open = sw_sync_open, .release = sw_sync_release, .unlocked_ioctl = sw_sync_ioctl, + .compat_ioctl = sw_sync_ioctl, }; static struct miscdevice sw_sync_dev = { diff --git a/drivers/staging/android/sync.c b/drivers/staging/android/sync.c index bf66c199a833..3893a3574769 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)