[2.6 patch] make x86/mm/dump_pagetables.c:pt_dump_init() static

From: Adrian Bunk
Date: Mon Apr 21 2008 - 04:53:01 EST


This patch makes the needlessly global pt_dump_init() static.

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxxx>

---
ef2be4c3ac52a07d3f423ab3f3c84c4bf43915a3 diff --git a/arch/x86/mm/dump_pagetables.c b/arch/x86/mm/dump_pagetables.c
index 6791b83..2c24bea 100644
--- a/arch/x86/mm/dump_pagetables.c
+++ b/arch/x86/mm/dump_pagetables.c
@@ -324,7 +324,7 @@ static const struct file_operations ptdump_fops = {
.release = single_release,
};

-int pt_dump_init(void)
+static int pt_dump_init(void)
{
struct dentry *pe;


--
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/