coreboot-kgpe-d16/src/lib/delay.c
Lee Leahy 45fde705b6 src/lib: Add space before (
Fix the following error detected by checkpatch.pl:

ERROR: space required before the open parenthesis '('

TEST=Build and run on Galileo Gen2

Change-Id: I8953fecbe75136ff989c9e3cf6c5e155dcee3c3b
Signed-off-by: Lee Leahy <Leroy.P.Leahy@intel.com>
Reviewed-on: https://review.coreboot.org/18698
Reviewed-by: Philippe Mathieu-Daudé <philippe.mathieu.daude@gmail.com>
Tested-by: build bot (Jenkins)
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
2017-03-09 17:30:21 +01:00

13 lines
212 B
C

#include <delay.h>
void mdelay(unsigned int msecs)
{
unsigned int i;
for (i = 0; i < msecs; i++)
udelay(1000);
}
void delay(unsigned int secs)
{
unsigned int i;
for (i = 0; i < secs; i++)
mdelay(1000);
}