-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
Jani Nikula
committed
Mar 2, 2020
1 parent
b28bba8
commit 062705b
Showing
4 changed files
with
23 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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__ */ |