[-mm patch] make fb_deferred_io_mkwrite() static

From: Adrian Bunk
Date: Sun Mar 04 2007 - 21:01:40 EST


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@xxxxxxxxx>

---
--- 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/