linux-stable/drivers/gpu/drm/i915/i915_ioc32.h
Jani Nikula 062705be45 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
2020-03-02 13:32:37 +02:00

17 lines
342 B
C

/* 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__ */