Commit 9a1914c6 authored by Dirk Behme's avatar Dirk Behme Committed by Tony Lindgren

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 <dirk.behme_at_de.bosch.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent af805090
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment