summaryrefslogtreecommitdiff
path: root/drivers/gpu/ion/ion.c
diff options
context:
space:
mode:
authorRom Lemarchand <romlem@google.com>2013-10-24 05:39:34 -0700
committerRom Lemarchand <romlem@google.com>2013-10-24 15:13:42 -0700
commita402f70ff3c94edb73b9f5670b5a55a27b1f1f00 (patch)
tree52464ec3b65519cec95ce3efe71a804700a56d16 /drivers/gpu/ion/ion.c
parentdcd2da8015c7ac2da6f57fc0d8c15b80e44c4aed (diff)
downloadolio-linux-3.10-a402f70ff3c94edb73b9f5670b5a55a27b1f1f00.tar.xz
olio-linux-3.10-a402f70ff3c94edb73b9f5670b5a55a27b1f1f00.zip
ion: add compat_ioctl
Add a compat_ioctl to the ion driver Change-Id: I43da387e22ff9c4a29f0159dfe9e898efc500553 Signed-off-by: Rom Lemarchand <romlem@google.com>
Diffstat (limited to 'drivers/gpu/ion/ion.c')
-rw-r--r--drivers/gpu/ion/ion.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/ion/ion.c b/drivers/gpu/ion/ion.c
index c4d0a487823..e4ffc9d5b94 100644
--- a/drivers/gpu/ion/ion.c
+++ b/drivers/gpu/ion/ion.c
@@ -38,6 +38,7 @@
#include <linux/idr.h>
#include "ion_priv.h"
+#include "compat_ion.h"
/**
* struct ion_device - the metadata of the ion device node
@@ -1256,6 +1257,7 @@ static const struct file_operations ion_fops = {
.open = ion_open,
.release = ion_release,
.unlocked_ioctl = ion_ioctl,
+ .compat_ioctl = compat_ion_ioctl,
};
static size_t ion_debug_heap_total(struct ion_client *client,