2 * drivers/staging/android/ion/compat_ion.h
4 * Copyright (C) 2013 Google, Inc.
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.
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.
17 #ifndef _LINUX_COMPAT_ION_H
18 #define _LINUX_COMPAT_ION_H
20 #if IS_ENABLED(CONFIG_COMPAT)
22 long compat_ion_ioctl(struct file *filp, unsigned int cmd, unsigned long arg);
26 #define compat_ion_ioctl NULL
28 #endif /* CONFIG_COMPAT */
29 #endif /* _LINUX_COMPAT_ION_H */