lkml.org 
[lkml]   [2006]   [Feb]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH] fbdev: Fix typo in fbmem.c
    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
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/
    \
     
     \ /
      Last update: 2006-02-10 16:17    [W:0.020 / U:61.892 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site