blob: 12506bbb3f06e2e050d33225306d8e2f7fc8dba3 [file] [log] [blame]
Sathish Ambley69e1ab02016-10-18 10:28:15 -07001/*
2 * Copyright (c) 2014 The Linux Foundation. All rights reserved.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 and
6 * only version 2 as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 */
14#ifndef ADSPRPC_COMPAT_H
15#define ADSPRPC_COMPAT_H
16
17#ifdef CONFIG_COMPAT
18
19long compat_fastrpc_device_ioctl(struct file *filp, unsigned int cmd,
20 unsigned long arg);
21#else
22
23#define compat_fastrpc_device_ioctl NULL
24
25#endif /* CONFIG_COMPAT */
26#endif /* ADSPRPC_COMPAT_H */