[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-fbdev-devel
Subject:    [Linux-fbdev-devel] [PATCH] fbdev: Fix typo in fbmem.c
From:       "Antonino A. Daplas" <adaplas () gmail ! com>
Date:       2006-02-10 15:14:04
Message-ID: 43ECADBC.2080107 () gmail ! com
[Download RAW message or body]

A typo in fbmem.c prevents recognition of video= parameter.

Signed-off-by: Antonino Daplas <adaplas@pol.net>

---
Mattia Dongili wrote:

> On Tue, Feb 07, 2006 at 10:06:27PM -0800, Andrew Morton wrote:
>> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.16-rc2/2.6.16-rc2-mm1/
> 
> Hello,
> 
> radeonfb ignores the video= parameter and always run at 1400x1050 (the
> highest available). Things where fine with .16-rc1-mm5.
> I also tried booting with 640x480-32@60 without success.

Try this patch.

Tony

PS: Andrew, maybe this patch should go into your hotfixes?

 fbmem.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


diff --git a/drivers/video/fbmem.c b/drivers/video/fbmem.c
index 6454a37..3ff1a54 100644
--- a/drivers/video/fbmem.c
+++ b/drivers/video/fbmem.c
@@ -1569,7 +1569,7 @@ int fb_get_options(char *name, char **op
 	return retval;
 }
 
-#ifdef MODULE
+#ifndef MODULE
 /**
  *	video_setup - process command line options
  *	@options: string of options


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Linux-fbdev-devel mailing list
Linux-fbdev-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-fbdev-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic