]> err.no Git - linux-2.6/commitdiff
[PATCH] powerpc: pmac namespace cleanup
authorArnd Bergmann <arnd@arndb.de>
Wed, 11 Jan 2006 00:00:03 +0000 (00:00 +0000)
committerPaul Mackerras <paulus@samba.org>
Thu, 12 Jan 2006 09:39:13 +0000 (20:39 +1100)
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>
arch/powerpc/platforms/powermac/setup.c

index 3b1a9d4fcbc6c7ff1789960baa9b304f833c21e4..89c4c36361610749e401f5cb1cf96712a70ba4ad 100644 (file)
@@ -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;