lkml.org 
[lkml]   [2007]   [Nov]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    SubjectRe: 2.6.24-rc3-mm2 Build Failure at imacfb framebuffer driver
    On Wed, 28 Nov 2007 18:37:13 +0530 Kamalesh Babulal <kamalesh@linux.vnet.ibm.com> wrote:

    > Hi Andrew,
    >
    > The kernel build fails, with following error
    >
    > CC drivers/video/imacfb.o
    > drivers/video/imacfb.c: In function ‘imacfb_probe’:
    > drivers/video/imacfb.c:238: error: ‘struct screen_info’ has no member named ‘imacpm_seg’
    > make[2]: *** [drivers/video/imacfb.o] Error 1
    > make[1]: *** [drivers/video] Error 2
    > make: *** [drivers] Error 2
    >

    That's an easy fix...

    From: Andrew Morton <akpm@linux-foundation.org>

    Cc: Edgar Hucek <hostmaster@ed-soft.at>
    Cc: "Antonino A. Daplas" <adaplas@pol.net>
    Cc: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    ---

    drivers/video/imacfb.c | 4 ----
    1 file changed, 4 deletions(-)

    diff -puN drivers/video/imacfb.c~a drivers/video/imacfb.c
    --- a/drivers/video/imacfb.c~a
    +++ a/drivers/video/imacfb.c
    @@ -234,10 +234,6 @@ static int __init imacfb_probe(struct pl
    size_remap = size_total;
    imacfb_fix.smem_len = size_remap;

    -#ifndef __i386__
    - screen_info.imacpm_seg = 0;
    -#endif
    -
    if (!request_mem_region(imacfb_fix.smem_start, size_total, "imacfb")) {
    printk(KERN_WARNING
    "imacfb: cannot reserve video memory at 0x%lx\n",
    _
    -
    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: 2007-11-28 19:59    [W:0.022 / U:0.160 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site