[-mm patch] init/calibrate.c: make a function static

From: Adrian Bunk
Date: Fri May 06 2005 - 16:35:31 EST


This patch makes a needlessly global function static.

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

--- linux-2.6.12-rc3-mm2-full/init/calibrate.c.old 2005-05-03 07:30:39.000000000 +0200
+++ linux-2.6.12-rc3-mm2-full/init/calibrate.c 2005-05-03 07:31:15.000000000 +0200
@@ -29,7 +29,7 @@
#define DELAY_CALIBRATION_TICKS ((HZ < 100) ? 1 : (HZ/100))
#define MAX_DIRECT_CALIBRATION_RETRIES 5

-unsigned long __devinit calibrate_delay_direct(void)
+static unsigned long __devinit calibrate_delay_direct(void)
{
unsigned long pre_start, start, post_start;
unsigned long pre_end, end, post_end;
@@ -102,7 +102,7 @@
return 0;
}
#else
-unsigned long __devinit calibrate_delay_direct(void) {return 0;}
+static unsigned long __devinit calibrate_delay_direct(void) {return 0;}
#endif

/*

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