diff options
| author | Andi Kleen <ak@muc.de> | 2005-01-20 16:10:29 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-01-20 16:10:29 -0800 |
| commit | 395747afb217a41998d122631d2043ceb87eb3f0 (patch) | |
| tree | e86745daf2e9cdff7995fde6435f5138480ec6fa /include/linux/fb.h | |
| parent | e7c29199f07430d1b7c148bc471a89027fb23f7e (diff) | |
[PATCH] Add compat_ioctl to frame buffer layer
Forward compat_ioctl through the frame buffer layer.
Signed-off-by: Andi Kleen <ak@muc.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/fb.h')
| -rw-r--r-- | include/linux/fb.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/fb.h b/include/linux/fb.h index 2f8fd43c51dc..2ce671eadbd7 100644 --- a/include/linux/fb.h +++ b/include/linux/fb.h @@ -584,6 +584,10 @@ struct fb_ops { int (*fb_ioctl)(struct inode *inode, struct file *file, unsigned int cmd, unsigned long arg, struct fb_info *info); + /* Handle 32bit compat ioctl (optional) */ + int (*fb_compat_ioctl)(struct file *f, unsigned cmd, unsigned long arg, + struct fb_info *info); + /* perform fb specific mmap */ int (*fb_mmap)(struct fb_info *info, struct file *file, struct vm_area_struct *vma); }; |
