From 9a1914c68ffce32151dfb2af643965e6fd0effa9 Mon Sep 17 00:00:00 2001 From: Dirk Behme Date: Fri, 20 Jan 2006 11:02:41 -0800 Subject: [PATCH] ARM: OMAP: Fix warning because of changed ioctl() parameters drivers/video/omap/omapfb_main.c:877: warning: initialization from incompatible pointer type Signed-off-by: Dirk Behme Signed-off-by: Tony Lindgren --- drivers/video/omap/omapfb_main.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/video/omap/omapfb_main.c b/drivers/video/omap/omapfb_main.c index ed5aa4cb206..466b30612be 100644 --- a/drivers/video/omap/omapfb_main.c +++ b/drivers/video/omap/omapfb_main.c @@ -743,9 +743,8 @@ EXPORT_SYMBOL(omapfb_write_first_pixel); * graphics transformations, frame flipping support is provided through this * interface. */ -static int omapfb_ioctl(struct inode *inode, struct file *file, - unsigned int cmd, unsigned long arg, - struct fb_info *fbi) +static int omapfb_ioctl(struct fb_info *fbi, unsigned int cmd, + unsigned long arg) { struct omapfb_device *fbdev = (struct omapfb_device *)fbi->par; struct fb_ops *ops = fbi->fbops; -- 2.41.1