mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 19:08:57 +09:00
misc: rk803: Add compat_ioctl
Signed-off-by: Roger Chen <roger.chen@rock-chips.com> Change-Id: I578bf38a56f02978cca7f84e0fe0943308a63ae1
This commit is contained in:
@@ -151,6 +151,9 @@ static long rk803_dev_ioctl(struct file *file, unsigned int cmd,
|
||||
static const struct file_operations rk803_fops = {
|
||||
.owner = THIS_MODULE,
|
||||
.unlocked_ioctl = rk803_dev_ioctl,
|
||||
#ifdef CONFIG_COMPAT
|
||||
.compat_ioctl = rk803_dev_ioctl
|
||||
#endif
|
||||
};
|
||||
|
||||
static int
|
||||
|
||||
Reference in New Issue
Block a user