init/calibrate.c: make a function static
PATCH 1/1 init/calibrate.c: make a function static
This patch makes a needlessly global function static.
Signed-off-by Adrian Bunk <[email protected]>
init/calibrate.c renamed from init/calibrate.c.old +2 -2
@@ -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 /*