From 922b072ee97aa79285920ab2eb412a039dbd1206 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Wed, 9 Mar 2005 17:08:48 -0800 Subject: [PATCH] fbdev compat_ioctl warning fix Fix some confusion over fbdev compat_ioctl return types - compat_ioctls return `long'. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- include/linux/fb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/linux') diff --git a/include/linux/fb.h b/include/linux/fb.h index 974894b623cd..0e9789ed0003 100644 --- a/include/linux/fb.h +++ b/include/linux/fb.h @@ -585,7 +585,7 @@ struct fb_ops { unsigned long arg, struct fb_info *info); /* Handle 32bit compat ioctl (optional) */ - int (*fb_compat_ioctl)(struct file *f, unsigned cmd, unsigned long arg, + long (*fb_compat_ioctl)(struct file *f, unsigned cmd, unsigned long arg, struct fb_info *info); /* perform fb specific mmap */ -- cgit v1.2.3