From: Arnd Bergmann <arnd@arndb.de>
Date: Wed, 11 Jan 2006 00:00:03 +0000 (+0000)
Subject: [PATCH] powerpc: pmac namespace cleanup
X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=ff38e7c80a92de91b34e483478d81eb3d1cf1b37;p=linux.git

[PATCH] powerpc: pmac namespace cleanup

pmac_setup_arch is only used in the file that it is defined in,
so it should not be in the global namespace.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
---

diff --git a/arch/powerpc/platforms/powermac/setup.c b/arch/powerpc/platforms/powermac/setup.c
index 3b1a9d4fcbc6c..89c4c36361610 100644
--- a/arch/powerpc/platforms/powermac/setup.c
+++ b/arch/powerpc/platforms/powermac/setup.c
@@ -278,7 +278,7 @@ static void __init l2cr_init(void)
 }
 #endif
 
-void __init pmac_setup_arch(void)
+static void __init pmac_setup_arch(void)
 {
 	struct device_node *cpu, *ic;
 	int *fp;