diff options
Diffstat (limited to 'drivers/video/fbmem.c')
-rw-r--r-- | drivers/video/fbmem.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/video/fbmem.c b/drivers/video/fbmem.c index 32a9b69becc5..d2dede6ed3e5 100644 --- a/drivers/video/fbmem.c +++ b/drivers/video/fbmem.c | |||
@@ -957,7 +957,7 @@ fb_ioctl(struct inode *inode, struct file *file, unsigned int cmd, | |||
957 | default: | 957 | default: |
958 | if (fb->fb_ioctl == NULL) | 958 | if (fb->fb_ioctl == NULL) |
959 | return -EINVAL; | 959 | return -EINVAL; |
960 | return fb->fb_ioctl(inode, file, cmd, arg, info); | 960 | return fb->fb_ioctl(info, cmd, arg); |
961 | } | 961 | } |
962 | } | 962 | } |
963 | 963 | ||
@@ -1107,7 +1107,7 @@ fb_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg) | |||
1107 | 1107 | ||
1108 | default: | 1108 | default: |
1109 | if (fb->fb_compat_ioctl) | 1109 | if (fb->fb_compat_ioctl) |
1110 | ret = fb->fb_compat_ioctl(file, cmd, arg, info); | 1110 | ret = fb->fb_compat_ioctl(info, cmd, arg); |
1111 | break; | 1111 | break; |
1112 | } | 1112 | } |
1113 | unlock_kernel(); | 1113 | unlock_kernel(); |
@@ -1135,7 +1135,7 @@ fb_mmap(struct file *file, struct vm_area_struct * vma) | |||
1135 | if (fb->fb_mmap) { | 1135 | if (fb->fb_mmap) { |
1136 | int res; | 1136 | int res; |
1137 | lock_kernel(); | 1137 | lock_kernel(); |
1138 | res = fb->fb_mmap(info, file, vma); | 1138 | res = fb->fb_mmap(info, vma); |
1139 | unlock_kernel(); | 1139 | unlock_kernel(); |
1140 | return res; | 1140 | return res; |
1141 | } | 1141 | } |