mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Henrik Kretzschmar <henne@nachtwindheim.de>
To: linux-fbdev@vger.kernel.org
Cc: Henrik Kretzschmar <henne@nachtwindheim.de>,
	Andrew Morton <akpm@linux-foundation.org>,
	Krzysztof Helt <krzysztof.h1@poczta.fm>,
	Arnaud Patard <arnaud.patard@rtp-net.org>,
	Andres Salomon <dilinger@debian.org>,
	Jaya Kumar <jayakumar.lkml@gmail.com>,
	linux-kernel@vger.kernel.org
Subject: [PATCH 5/7] fbdev: section cleanup in vfb
Date: Sat, 27 Mar 2010 07:29:09 +0100	[thread overview]
Message-ID: <1269671353-22041-4-git-send-email-henne@nachtwindheim.de> (raw)
In-Reply-To: <1269671353-22041-1-git-send-email-henne@nachtwindheim.de>

This patch cleans up the section in the vfb driver.

WARNING: drivers/video/vfb.o(.devinit.text+0xf8): Section mismatch in reference from the function vfb_probe() to the variable .init.data:vfb_default
The function __devinit vfb_probe() references
a variable __initdata vfb_default.
If vfb_default is only used by vfb_probe then
annotate vfb_default with a matching annotation.

WARNING: drivers/video/vfb.o(.devinit.text+0x114): Section mismatch in reference from the function vfb_probe() to the variable .init.data:vfb_fix
The function __devinit vfb_probe() references
a variable __initdata vfb_fix.
If vfb_fix is only used by vfb_probe then
annotate vfb_fix with a matching annotation.

Signed-off-by: Henrik Kretzschmar <henne@nachtwindheim.de>
---
 drivers/video/vfb.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/video/vfb.c b/drivers/video/vfb.c
index b8ab995..488520b 100644
--- a/drivers/video/vfb.c
+++ b/drivers/video/vfb.c
@@ -79,7 +79,7 @@ static void rvfree(void *mem, unsigned long size)
 	vfree(mem);
 }
 
-static struct fb_var_screeninfo vfb_default __initdata = {
+static struct fb_var_screeninfo vfb_default __devinitdata = {
 	.xres =		640,
 	.yres =		480,
 	.xres_virtual =	640,
@@ -101,7 +101,7 @@ static struct fb_var_screeninfo vfb_default __initdata = {
       	.vmode =	FB_VMODE_NONINTERLACED,
 };
 
-static struct fb_fix_screeninfo vfb_fix __initdata = {
+static struct fb_fix_screeninfo vfb_fix __devinitdata = {
 	.id =		"Virtual FB",
 	.type =		FB_TYPE_PACKED_PIXELS,
 	.visual =	FB_VISUAL_PSEUDOCOLOR,
-- 
1.7.0


  parent reply	other threads:[~2010-03-27  6:30 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-27  6:29 [PATCH 2/7] fbdev: section cleanup in efifb Henrik Kretzschmar
2010-03-27  6:29 ` [PATCH 3/7] fbdev: section cleanup in hgafb Henrik Kretzschmar
2010-03-27  6:29 ` [PATCH 4/7] fbdev: section cleanup in vesafb Henrik Kretzschmar
2010-03-27  6:29 ` Henrik Kretzschmar [this message]
2010-03-27  6:29 ` [PATCH 6/7] fbdev: section cleanup in vga16fb Henrik Kretzschmar
2010-03-27  6:29 ` [PATCH 7/7] fbdev: section cleanup in w100fb Henrik Kretzschmar
2010-03-29 15:21 ` [PATCH 2/7] fbdev: section cleanup in efifb Peter Jones

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=1269671353-22041-4-git-send-email-henne@nachtwindheim.de \
    --to=henne@nachtwindheim.de \
    --cc=akpm@linux-foundation.org \
    --cc=arnaud.patard@rtp-net.org \
    --cc=dilinger@debian.org \
    --cc=jayakumar.lkml@gmail.com \
    --cc=krzysztof.h1@poczta.fm \
    --cc=linux-fbdev@vger.kernel.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

all inboxes | Powered by JetHome®