aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_ioc32.h
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2020-02-27 19:00:45 +0200
committerJani Nikula <jani.nikula@intel.com>2020-03-02 13:32:37 +0200
commit062705be45c8de79aee54620e5facc402eeee43a (patch)
tree2a72d8dadd2d7a1c0629e4cbac2ae6ef893d974a /drivers/gpu/drm/i915/i915_ioc32.h
parentdrm/i915/dram: hide the dram structs better (diff)
downloadlinux-dev-062705be45c8de79aee54620e5facc402eeee43a.tar.xz
linux-dev-062705be45c8de79aee54620e5facc402eeee43a.zip
drm/i915: add i915_ioc32.h for compat
Keep reducing i915_drv.h. Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Jani Nikula <jani.nikula@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20200227170047.31089-1-jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/i915_ioc32.h')
-rw-r--r--drivers/gpu/drm/i915/i915_ioc32.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_ioc32.h b/drivers/gpu/drm/i915/i915_ioc32.h
new file mode 100644
index 000000000000..40dcd55ca213
--- /dev/null
+++ b/drivers/gpu/drm/i915/i915_ioc32.h
@@ -0,0 +1,17 @@
+/* SPDX-License-Identifier: MIT */
+/*
+ * Copyright © 2020 Intel Corporation
+ */
+
+#ifndef __I915_IOC32_H__
+#define __I915_IOC32_H__
+
+#ifdef CONFIG_COMPAT
+struct file;
+long i915_ioc32_compat_ioctl(struct file *filp, unsigned int cmd,
+ unsigned long arg);
+#else
+#define i915_ioc32_compat_ioctl NULL
+#endif
+
+#endif /* __I915_IOC32_H__ */