These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git] / kernel / drivers / staging / android / ion / compat_ion.h
1 /*
2  * drivers/staging/android/ion/compat_ion.h
3  *
4  * Copyright (C) 2013 Google, Inc.
5  *
6  * This software is licensed under the terms of the GNU General Public
7  * License version 2, as published by the Free Software Foundation, and
8  * may be copied, distributed, and modified under those terms.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  * GNU General Public License for more details.
14  *
15  */
16
17 #ifndef _LINUX_COMPAT_ION_H
18 #define _LINUX_COMPAT_ION_H
19
20 #if IS_ENABLED(CONFIG_COMPAT)
21
22 long compat_ion_ioctl(struct file *filp, unsigned int cmd, unsigned long arg);
23
24 #else
25
26 #define compat_ion_ioctl  NULL
27
28 #endif /* CONFIG_COMPAT */
29 #endif /* _LINUX_COMPAT_ION_H */