summaryrefstree
path: root/kernel/drivers/char/adsprpc_compat.h
blob: 1366751d772e1d51d5d3aa61a49d0f198b0be346 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * Copyright (c) 2014, 2018-2019 The Linux Foundation. All rights reserved.
 */
#ifndef ADSPRPC_COMPAT_H
#define ADSPRPC_COMPAT_H

#if IS_ENABLED(CONFIG_COMPAT)

long compat_fastrpc_device_ioctl(struct file *filp, unsigned int cmd,
				unsigned long arg);
#else

#define compat_fastrpc_device_ioctl	NULL

#endif /* CONFIG_COMPAT */
#endif /* ADSPRPC_COMPAT_H */