Skip to contentSkip to conversation

i386 cyrix.c: make a function static

PATCH New Adrian Bunk 1 participant 1 message Nov 28, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 i386 cyrix.c: make a function static

The patch below makes a needlessly global function static.

arch/i386/kernel/cpu/cyrix.c renamed from arch/i386/kernel/cpu/cyrix.c.old +1 -1
@@ -12,7 +12,7 @@
 /*
  * Read NSC/Cyrix DEVID registers (DIR) to get more detailed info. about the CPU
  */
-void __init do_cyrix_devid(unsigned char *dir0, unsigned char *dir1)
+static void __init do_cyrix_devid(unsigned char *dir0, unsigned char *dir1)
 {
 	unsigned char ccr2, ccr3;
 	unsigned long flags;