lkml.org 
[lkml]   [2007]   [Mar]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[-mm patch] make fb_deferred_io_mkwrite() static
    On Fri, Mar 02, 2007 at 03:00:26AM -0800, Andrew Morton wrote:
    >...
    > Changes since 2.6.20-mm2:
    >...
    > +fbdev-mm-deferred-io-support.patch
    >...
    > fbdev updates
    >...


    This patch makes the needlessly global fb_deferred_io_mkwrite() static.

    Signed-off-by: Adrian Bunk <bunk@stusta.de>

    ---
    --- linux-2.6.21-rc2-mm1/drivers/video/fb_defio.c.old 2007-03-04 21:55:57.000000000 +0100
    +++ linux-2.6.21-rc2-mm1/drivers/video/fb_defio.c 2007-03-04 21:56:07.000000000 +0100
    @@ -48,8 +48,8 @@
    }

    /* vm_ops->page_mkwrite handler */
    -int fb_deferred_io_mkwrite(struct vm_area_struct *vma,
    - struct page *page)
    +static int fb_deferred_io_mkwrite(struct vm_area_struct *vma,
    + struct page *page)
    {
    struct fb_info *info = vma->vm_private_data;
    struct fb_deferred_io *fbdefio = info->fbdefio;
    -
    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-03-05 03:07    [W:4.089 / U:0.016 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site