2 * Copyright (C) 2012 Spreadtrum Communications Inc.
4 * This software is licensed under the terms of the GNU General Public
5 * License version 2, as published by the Free Software Foundation, and
6 * may be copied, distributed, and modified under those terms.
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.
13 #ifndef _COMPAT_IMG_SCALE_H_
14 #define _COMPAT_IMG_SCALE_H_
16 #if IS_ENABLED(CONFIG_COMPAT)
18 long compat_sensor_k_ioctl(struct file *filp, unsigned int cmd, unsigned long arg);
22 #define compat_sensor_k_ioctl NULL
24 #endif /* CONFIG_COMPAT */