Skip to contentSkip to conversation

i386 cyrix.c: make a function static (fwd)

PATCH New Adrian Bunk 1 participant 1 message Jan 15, 2005

lore
Share & tools
lore
#0 lore raw

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

The patch forwarded below still applies and compiles against 2.6.11-rc1-mm1.

Please apply.

----- Forwarded message from Adrian Bunk <[email protected]> -----

Date: Mon, 29 Nov 2004 00:03:58 +0100
From: Adrian Bunk <[email protected]>
To: [email protected]
Subject: [2.6 patch] 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;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

----- End forwarded message -----