aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Pervushin <dmitry.pervushin@linaro.org>2013-03-19 22:37:51 +0100
committerJohn Stultz <john.stultz@linaro.org>2013-05-03 16:12:00 -0700
commit2bc0554ea73fd5d771d93cc287d2c6900022f4da (patch)
treebe31a0d331e5f16e875b5255af2d842dd5bebf6d
parentc98631b93752a0d911fefe95753483053ca7dd83 (diff)
downloadvexpress-lsk-2bc0554ea73fd5d771d93cc287d2c6900022f4da.tar.gz
Add compat_ioctls in sync drivers
Change-Id: If1a1ecc3952b321c8d64c6a8b050104859efc4b1 Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org> Signed-off-by: Dmitry Pervushin <dmitry.pervushin@linaro.org> Signed-off-by: John Stultz <john.stultz@linaro.org>
-rw-r--r--drivers/base/sw_sync.c1
-rw-r--r--drivers/base/sync.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/base/sw_sync.c b/drivers/base/sw_sync.c
index b4d8529ee89..a93145fdcb2 100644
--- a/drivers/base/sw_sync.c
+++ b/drivers/base/sw_sync.c
@@ -238,6 +238,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/base/sync.c b/drivers/base/sync.c
index 2e359968919..cefd6b9f483 100644
--- a/drivers/base/sync.c
+++ b/drivers/base/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)