[-mm patch] make fb_deferred_io_mkwrite() static

Adrian Bunk
2007-03-05T02:01:01Z

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;