lkml.org 
[lkml]   [2006]   [Feb]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
Subject[PATCH] xquad_portio fix declaration missmatch
From
xquad_portio fix declaration missmatch

It seems that the latest gcc-4.x sees the inconsistancy between the
export of and static declaration of xquad_portio where previous versions
have not. Fix it up.

arch/i386/boot/compressed/misc.c:125: error: static declaration of
'xquad_portio' follows non-static declaration
include/asm/io.h:315: error: previous declaration of 'xquad_portio' was here

Against: 2.6.16-rc1-mm4

Signed-off-by: Andy Whitcroft <apw@shadowen.org>
---
misc.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -upN reference/arch/i386/boot/compressed/misc.c current/arch/i386/boot/compressed/misc.c
--- reference/arch/i386/boot/compressed/misc.c
+++ current/arch/i386/boot/compressed/misc.c
@@ -122,7 +122,7 @@ static int vidport;
static int lines, cols;

#ifdef CONFIG_X86_NUMAQ
-static void * xquad_portio = NULL;
+void * xquad_portio = NULL;
#endif

#include "../../../../lib/inflate.c"
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2006-02-02 01:45    [W:0.044 / U:0.228 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site