From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dirk Behme Subject: [PATCH] Fix warning in omapfb_main.c Date: Tue, 17 Jan 2006 19:44:48 +0100 Message-ID: <43CD3B20.1060007@de.bosch.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------090607030109030304060907" Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-omap-open-source-bounces@linux.omap.com Errors-To: linux-omap-open-source-bounces@linux.omap.com To: linux-omap-open-source@linux.omap.com List-Id: linux-omap@vger.kernel.org This is a multi-part message in MIME format. --------------090607030109030304060907 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 --------------090607030109030304060907 Content-Type: text/plain; name="omapfb_main_warning_fix.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="omapfb_main_warning_fix.patch" --- ./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; --------------090607030109030304060907 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --------------090607030109030304060907--