[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20070216143813.e7de85ef.khali@linux-fr.org>
Date: Fri, 16 Feb 2007 14:38:13 +0100
From: Jean Delvare <khali@...ux-fr.org>
To: Antonino Daplas <adaplas@....net>
Cc: LKML <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: [PATCH] i810fb: Fix i810_check_params section mismatch
WARNING: drivers/video/i810/i810fb.o - Section mismatch: reference
to .init.data: from .text between 'i810_check_params' (at offset
0x1123) and 'encode_fix'
yres cannot be declared __devinitdata as it is used in
i810_check_params(), which isn't __devinit.
Signed-off-by: Jean Delvare <khali@...ux-fr.org>
---
This patch was already sent on December 17th, 2006.
drivers/video/i810/i810_main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-2.6.20-rc1.orig/drivers/video/i810/i810_main.c 2006-12-17 16:02:06.000000000 +0100
+++ linux-2.6.20-rc1/drivers/video/i810/i810_main.c 2006-12-17 16:04:01.000000000 +0100
@@ -142,7 +142,7 @@
static int vsync1 __devinitdata;
static int vsync2 __devinitdata;
static int xres __devinitdata;
-static int yres __devinitdata;
+static int yres;
static int vyres __devinitdata;
static int sync __devinitdata;
static int extvga __devinitdata;
--
Jean Delvare
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists