]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
ARM: OMAP: Fix warning because of changed ioctl() parameters
authorDirk Behme <dirk.behme@de.bosch.com>
Fri, 20 Jan 2006 19:02:41 +0000 (11:02 -0800)
committerTony Lindgren <tony@atomide.com>
Fri, 20 Jan 2006 19:02:41 +0000 (11:02 -0800)
drivers/video/omap/omapfb_main.c:877: warning: initialization from
incompatible pointer type

Signed-off-by: Dirk Behme <dirk.behme_at_de.bosch.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/video/omap/omapfb_main.c

index ed5aa4cb2067f9b2d8cf80710b28b143117a8131..466b30612be47b11424069ea16fca439e8770e5e 100644 (file)
@@ -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;