* [2.6 patch] drivers/video/intelfb/: fix a warning
[not found] <20050312034222.12a264c4.akpm@osdl.org>
@ 2005-03-12 17:30 ` Adrian Bunk
0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2005-03-12 17:30 UTC (permalink / raw)
To: Andrew Morton, adaplas; +Cc: linux-kernel, linux-fbdev-devel
It seems I'm at least partially guilty for the following warning coming
from Linus' tree:
<-- snip -->
...
CC [M] drivers/video/intelfb/intelfbdrv.o
drivers/video/intelfb/intelfbdrv.h:31: warning: 'intelfb_setup' declared `static' but never defined
...
<-- snip -->
The fix is simple.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
--- linux-2.6.11-mm3-full/drivers/video/intelfb/intelfbdrv.h.old 2005-03-12 17:51:06.000000000 +0100
+++ linux-2.6.11-mm3-full/drivers/video/intelfb/intelfbdrv.h 2005-03-12 17:51:20.000000000 +0100
@@ -28,7 +28,6 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-static int __init intelfb_setup(char *options);
static void __devinit get_initial_mode(struct intelfb_info *dinfo);
static void update_dinfo(struct intelfb_info *dinfo,
struct fb_var_screeninfo *var);
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
^ permalink raw reply [flat|nested] only message in thread