3 * drivers/gpu/ion/compat_ion.h
5 * Copyright (C) 2013 Google, Inc.
7 * This software is licensed under the terms of the GNU General Public
8 * License version 2, as published by the Free Software Foundation, and
9 * may be copied, distributed, and modified under those terms.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
18 #ifndef _LINUX_COMPAT_SPRD_ION_H
19 #define _LINUX_COMPAT_SPRD_ION_H
21 #if IS_ENABLED(CONFIG_COMPAT)
23 long compat_sprd_ion_ioctl(struct file *filp, unsigned int cmd, unsigned long arg);
27 #define compat_sprd_ion_ioctl NULL
29 #endif /* CONFIG_COMPAT */
30 #endif /* _LINUX_COMPAT_SPRD_ION_H */