All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dirk Behme <dirk.behme@de.bosch.com>
To: linux-omap-open-source@linux.omap.com
Subject: [PATCH] Fix warning in omapfb_main.c
Date: Tue, 17 Jan 2006 19:44:48 +0100	[thread overview]
Message-ID: <43CD3B20.1060007@de.bosch.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 213 bytes --]


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>


[-- Attachment #2: omapfb_main_warning_fix.patch --]
[-- Type: text/plain, Size: 659 bytes --]

--- ./drivers/video/omap/omapfb_main.c_orig	2006-01-17 18:58:58.037572648 +0100
+++ ./drivers/video/omap/omapfb_main.c	2006-01-17 19:04:15.332336512 +0100
@@ -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;


[-- Attachment #3: Type: text/plain, Size: 0 bytes --]



             reply	other threads:[~2006-01-17 18:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-17 18:44 Dirk Behme [this message]
2006-01-20 19:03 ` [PATCH] Fix warning in omapfb_main.c Tony Lindgren

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=43CD3B20.1060007@de.bosch.com \
    --to=dirk.behme@de.bosch.com \
    --cc=linux-omap-open-source@linux.omap.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.