mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Davidlohr Bueso <dave@gnu.org>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: [PATCH] atyfb: fix build regression
Date: Thu, 28 Oct 2010 09:41:13 -0300	[thread overview]
Message-ID: <1288269673.2212.9.camel@cowboy> (raw)

From: Davidlohr Bueso <dave@gnu.org>
Date: Thu, 28 Oct 2010 09:32:44 -0300
Subject: [PATCH 6/6] atyfb: fix build regression

On Today's randconfig the following is happening on Linus' latest tree:

  CC      drivers/video/aty/atyfb_base.o
drivers/video/aty/atyfb_base.c:553: error: ‘ram_dram’ undeclared here (not in a function)
drivers/video/aty/atyfb_base.c:554: error: ‘ram_resv’ undeclared here (not in a function)
make[3]: *** [drivers/video/aty/atyfb_base.o] Error 1
make[2]: *** [drivers/video/aty] Error 2
make[1]: *** [drivers/video] Error 2
make: *** [drivers] Error 2

I believe that th ram_dram and ram_resv where removed based on this http://lkml.org/lkml/2010/9/22/258

Signed-off-by: Davidlohr Bueso <dave@gnu.org>
---
 drivers/video/aty/atyfb_base.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/video/aty/atyfb_base.c b/drivers/video/aty/atyfb_base.c
index 8e58f4a..5988b88 100644
--- a/drivers/video/aty/atyfb_base.c
+++ b/drivers/video/aty/atyfb_base.c
@@ -535,6 +535,8 @@ static int __devinit correct_chipset(struct atyfb_par *par)
 	return 0;
 }
 
+static char ram_dram[] __devinitdata = "DRAM";
+static char ram_resv[] __devinitdata = "RESV";
 #ifdef CONFIG_FB_ATY_GX
 static char ram_vram[] __devinitdata = "VRAM";
 #endif /* CONFIG_FB_ATY_GX */
-- 
1.7.0.4




                 reply	other threads:[~2010-10-28 12:41 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1288269673.2212.9.camel@cowboy \
    --to=dave@gnu.org \
    --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

Powered by JetHome