diff options
author | Sakari Ailus <sakari.ailus@iki.fi> | 2013-01-22 10:27:55 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-03-18 19:44:36 -0400 |
commit | c6c1d50b51e76b57fbf0651d38a7ae0c3fb9d5cc (patch) | |
tree | 448be2161521c9af331e4ea5468528b6a388dcd4 /include/media/media-devnode.h | |
parent | cab3e1ffbe1b9c7a607506338f590dc1e6ca9909 (diff) |
[media] media: Add 64--32 bit compat ioctl handler
Provide an ioctl handler for 32-bit binaries on 64-bit systems.
Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Tested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media/media-devnode.h')
-rw-r--r-- | include/media/media-devnode.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/media/media-devnode.h b/include/media/media-devnode.h index f6caafc874cb..3446af279fca 100644 --- a/include/media/media-devnode.h +++ b/include/media/media-devnode.h | |||
@@ -46,6 +46,7 @@ struct media_file_operations { | |||
46 | ssize_t (*write) (struct file *, const char __user *, size_t, loff_t *); | 46 | ssize_t (*write) (struct file *, const char __user *, size_t, loff_t *); |
47 | unsigned int (*poll) (struct file *, struct poll_table_struct *); | 47 | unsigned int (*poll) (struct file *, struct poll_table_struct *); |
48 | long (*ioctl) (struct file *, unsigned int, unsigned long); | 48 | long (*ioctl) (struct file *, unsigned int, unsigned long); |
49 | long (*compat_ioctl) (struct file *, unsigned int, unsigned long); | ||
49 | int (*open) (struct file *); | 50 | int (*open) (struct file *); |
50 | int (*release) (struct file *); | 51 | int (*release) (struct file *); |
51 | }; | 52 | }; |