From: Jean Delvare <khali@linux-fr.org>
To: Antonino Daplas <adaplas@pol.net>
Cc: LKML <linux-kernel@vger.kernel.org>,
Andrew Morton <akpm@linux-foundation.org>
Subject: [PATCH] i810fb: Fix i810_check_params section mismatch
Date: Fri, 16 Feb 2007 14:38:13 +0100 [thread overview]
Message-ID: <20070216143813.e7de85ef.khali@linux-fr.org> (raw)
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@linux-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
next reply other threads:[~2007-02-16 13:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-16 13:38 Jean Delvare [this message]
2007-02-16 14:48 ` [PATCH] i810fb: Fix i810_check_params section mismatch James Simmons
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070216143813.e7de85ef.khali@linux-fr.org \
--to=khali@linux-fr.org \
--cc=adaplas@pol.net \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox