xref: /OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/i915_ioc32.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /* SPDX-License-Identifier: MIT */
2*4882a593Smuzhiyun /*
3*4882a593Smuzhiyun  * Copyright © 2020 Intel Corporation
4*4882a593Smuzhiyun  */
5*4882a593Smuzhiyun 
6*4882a593Smuzhiyun #ifndef __I915_IOC32_H__
7*4882a593Smuzhiyun #define __I915_IOC32_H__
8*4882a593Smuzhiyun 
9*4882a593Smuzhiyun #ifdef CONFIG_COMPAT
10*4882a593Smuzhiyun struct file;
11*4882a593Smuzhiyun long i915_ioc32_compat_ioctl(struct file *filp, unsigned int cmd,
12*4882a593Smuzhiyun 			     unsigned long arg);
13*4882a593Smuzhiyun #else
14*4882a593Smuzhiyun #define i915_ioc32_compat_ioctl NULL
15*4882a593Smuzhiyun #endif
16*4882a593Smuzhiyun 
17*4882a593Smuzhiyun #endif /* __I915_IOC32_H__ */
18