projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94f4b88
)
rk3368: ddrfreq: add compat_ioctl support
author
Xiao Feng
<xf@rock-chips.com>
Fri, 8 May 2015 07:12:13 +0000
(15:12 +0800)
committer
Huang, Tao
<huangtao@rock-chips.com>
Fri, 8 May 2015 07:33:27 +0000
(15:33 +0800)
Signed-off-by: Xiao Feng <xf@rock-chips.com>
arch/arm/mach-rockchip/ddr_freq.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rockchip/ddr_freq.c
b/arch/arm/mach-rockchip/ddr_freq.c
index 09a1d80413b726bbf8569ced6b4590a877cde9e1..a6c3ab8b8c597e7b32d7a0718c9cf70191fcf175 100644
(file)
--- a/
arch/arm/mach-rockchip/ddr_freq.c
+++ b/
arch/arm/mach-rockchip/ddr_freq.c
@@
-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 = {