linux-mips
[Top] [All Lists]

[PATCH] Clean compiling for au1100fb.c

To: linux-mips@linux-mips.org
Subject: [PATCH] Clean compiling for au1100fb.c
From: Rodolfo Giometti <giometti@linux.it>
Date: Wed, 24 May 2006 17:53:36 +0200
Organization: GNU/Linux Device Drivers, Embedded Systems and Courses
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.11+cvs20060403
Without the attached patch when compiling au1100fb.c I get:

     CC      drivers/video/au1100fb.o
   drivers/video/au1100fb.c: In function `au1100fb_fb_setcolreg':
   drivers/video/au1100fb.c:219: warning: ISO C90 forbids mixed declarations 
and code
   drivers/video/au1100fb.c: In function `au1100fb_fb_pan_display':
   drivers/video/au1100fb.c:321: warning: ISO C90 forbids mixed declarations 
and code
   drivers/video/au1100fb.c: In function `au1100fb_fb_mmap':
   drivers/video/au1100fb.c:387: warning: ISO C90 forbids mixed declarations 
and code
   drivers/video/au1100fb.c: In function `au1100fb_drv_probe':
   drivers/video/au1100fb.c:471: warning: unsigned int format, long unsigned 
int arg (arg 2)
   drivers/video/au1100fb.c: At top level:
   drivers/video/au1100fb.c:617: warning: initialization from incompatible 
pointer type
   drivers/video/au1100fb.c:618: warning: initialization from incompatible 
pointer type
     LD      drivers/video/built-in.o

my compiler is:

   giometti@zaigor:~$ mipsel-linux-gcc --version
   mipsel-linux-gcc (GCC) 3.4.3
   Copyright (C) 2004 Free Software Foundation, Inc.
   This is free software; see the source for copying conditions.  There is NO
   warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Ciao,

Rodolfo

-- 

GNU/Linux Solutions                  e-mail:    giometti@enneenne.com
Linux Device Driver                             giometti@gnudd.com
Embedded Systems                                giometti@linux.it
UNIX programming                     phone:     +39 349 2432127

Attachment: au1100fb.c.patch
Description: Text document

<Prev in Thread] Current Thread [Next in Thread>