ソースを参照

[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>
Arnd Bergmann 19 年 前
コミット
ff38e7c80a
1 ファイル変更1 行追加1 行削除
  1. 1 1
      arch/powerpc/platforms/powermac/setup.c

+ 1 - 1
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;