rk3368: ddrfreq: add compat_ioctl support

Signed-off-by: Xiao Feng <xf@rock-chips.com>
This commit is contained in:
Xiao Feng
2015-05-08 15:12:13 +08:00
committed by Huang, Tao
parent 94f4b88e4c
commit ce04c16111

View File

@@ -652,6 +652,9 @@ static long ddr_freq_ioctl(struct file *file, unsigned int cmd, unsigned long ar
static const struct file_operations ddr_freq_fops = {
.owner = THIS_MODULE,
.unlocked_ioctl = ddr_freq_ioctl,
#ifdef CONFIG_COMPAT
.compat_ioctl = ddr_freq_ioctl,
#endif
};
static struct miscdevice ddr_freq_dev = {